diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-26 13:18:45 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-26 13:18:45 -0700 |
commit | 3af73e9962fe810de0c556693ec2eb0559b06a67 (patch) | |
tree | 3a6220ae9a6c05c5b43bdf5fc6f822e597e39d7a /components/script/dom/htmlanchorelement.rs | |
parent | 0e6304dcf7fd6712f4455151b55a361de857359d (diff) | |
parent | 3624673d2faf7a36face3321af70fc55117a24a7 (diff) | |
download | servo-3af73e9962fe810de0c556693ec2eb0559b06a67.tar.gz servo-3af73e9962fe810de0c556693ec2eb0559b06a67.zip |
auto merge of #4353 : brunoabinader/servo/domtokenlist, r=Ms2ger
Specs:
https://dom.spec.whatwg.org/#dom-domtokenlist-add
https://dom.spec.whatwg.org/#dom-domtokenlist-remove
https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
https://dom.spec.whatwg.org/#concept-dtl-update
https://dom.spec.whatwg.org/#concept-ordered-set-serializer
Closes #3138.
Diffstat (limited to 'components/script/dom/htmlanchorelement.rs')
-rw-r--r-- | components/script/dom/htmlanchorelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlanchorelement.rs b/components/script/dom/htmlanchorelement.rs index 10d574672a3..c4e9558c359 100644 --- a/components/script/dom/htmlanchorelement.rs +++ b/components/script/dom/htmlanchorelement.rs @@ -93,7 +93,7 @@ impl<'a> VirtualMethods for JSRef<'a, HTMLAnchorElement> { fn parse_plain_attribute(&self, name: &Atom, value: DOMString) -> AttrValue { match name { - &atom!("rel") => AttrValue::from_tokenlist(value), + &atom!("rel") => AttrValue::from_serialized_tokenlist(value), _ => self.super_type().unwrap().parse_plain_attribute(name, value), } } |