diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-19 13:01:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-19 13:01:29 -0500 |
commit | 07b217368f6f2ec35450edab9c6c29091aa16433 (patch) | |
tree | 9d42275ee344fa6b629b1fe64b12ea34d729955a /components/script/dom | |
parent | dbee1cb6721d63af7a791f1164f263c3adc95446 (diff) | |
parent | 6173e1d33957b8f3c560df562c1ea2ed36151381 (diff) | |
download | servo-07b217368f6f2ec35450edab9c6c29091aa16433.tar.gz servo-07b217368f6f2ec35450edab9c6c29091aa16433.zip |
Auto merge of #12924 - servo:selectors-ser, r=nox
Update selectors to 0.10, with ToCss serialization.
<!-- Please describe your changes on the following line: -->
r? @emilio
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12924)
<!-- Reviewable:end -->
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()) }) |