Factor the name-related fields of Attr into a struct and move it to style.

This commit is contained in:
Bobby Holley 2015-11-03 12:16:53 -08:00
parent 488c1291d4
commit c9704992a9
3 changed files with 31 additions and 23 deletions

View file

@ -82,7 +82,7 @@ use std::sync::Arc;
use std::sync::atomic::AtomicBool;
use std::sync::mpsc::{Receiver, Sender};
use string_cache::{Atom, Namespace, QualName};
use style::attr::AttrValue;
use style::attr::{AttrIdentifier, AttrValue};
use style::properties::PropertyDeclarationBlock;
use style::values::specified::Length;
use url::Url;
@ -290,6 +290,7 @@ no_jsmanaged_fields!(Length);
no_jsmanaged_fields!(ElementState);
no_jsmanaged_fields!(DOMString);
no_jsmanaged_fields!(Mime);
no_jsmanaged_fields!(AttrIdentifier);
no_jsmanaged_fields!(AttrValue);
impl JSTraceable for Box<ScriptChan + Send> {