mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Factor the name-related fields of Attr into a struct and move it to style.
This commit is contained in:
parent
488c1291d4
commit
c9704992a9
3 changed files with 31 additions and 23 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue