diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-08-18 14:25:24 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-08-18 14:46:24 +0200 |
commit | d690bd2382300c84f402b8c17ff7d633007ade03 (patch) | |
tree | f8c98308663787d9c4e6c0915643b0f036494227 /components/script/dom | |
parent | 4e7c689a815198a51f96fdcac48a15eabf2157c0 (diff) | |
download | servo-d690bd2382300c84f402b8c17ff7d633007ade03.tar.gz servo-d690bd2382300c84f402b8c17ff7d633007ade03.zip |
Update selectors to 0.10, with ToCss serialization.
Diffstat (limited to 'components/script/dom')
-rw-r--r-- | components/script/dom/element.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index f74f253aa78..860818c024c 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -2250,7 +2250,7 @@ impl<'a> ::selectors::MatchAttrGeneric for Root<Element> { }; match attr.namespace { NamespaceConstraint::Specific(ref ns) => { - self.get_attribute(ns, local_name) + self.get_attribute(&ns.url, local_name) .map_or(false, |attr| { test(&attr.value()) }) |