mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement trivial stringifiers
This commit is contained in:
parent
2a2e8b176d
commit
3b82cba011
6 changed files with 12 additions and 35 deletions
|
@ -159,4 +159,9 @@ impl<'a> DOMTokenListMethods for JSRef<'a, DOMTokenList> {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#stringification-behavior
|
||||
fn Stringifier(self) -> DOMString {
|
||||
self.element.root().r().get_string_attribute(&self.local_name)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue