mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Support stringifier attributes
This commit is contained in:
parent
97c01fc479
commit
691af0e98b
14 changed files with 11 additions and 73 deletions
|
@ -177,11 +177,6 @@ impl DOMTokenListMethods for DOMTokenList {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#concept-dtl-serialize
|
||||
fn Stringifier(&self) -> DOMString {
|
||||
self.element.get_string_attribute(&self.local_name)
|
||||
}
|
||||
|
||||
// check-tidy: no specs after this line
|
||||
fn IndexedGetter(&self, index: u32) -> Option<DOMString> {
|
||||
self.Item(index)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue