mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Use JSTraceable everywhere
This commit is contained in:
parent
85f79290a6
commit
cc44a3b064
133 changed files with 325 additions and 278 deletions
|
@ -28,7 +28,8 @@ pub enum AttrSettingType {
|
|||
ReplacedAttr,
|
||||
}
|
||||
|
||||
#[deriving(PartialEq, Clone, Encodable)]
|
||||
#[deriving(PartialEq, Clone)]
|
||||
#[jstraceable]
|
||||
pub enum AttrValue {
|
||||
StringAttrValue(DOMString),
|
||||
TokenListAttrValue(DOMString, Vec<Atom>),
|
||||
|
@ -72,7 +73,7 @@ impl Str for AttrValue {
|
|||
}
|
||||
}
|
||||
|
||||
#[deriving(Encodable)]
|
||||
#[jstraceable]
|
||||
#[must_root]
|
||||
pub struct Attr {
|
||||
reflector_: Reflector,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue