diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-06-08 17:26:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-08 17:26:45 -0700 |
commit | a6b3bf1517b8329e26c6b8dec84b294bf7d257be (patch) | |
tree | d8d462e33fd9afad4e77bc7051e32b4a801e93c2 /components/script | |
parent | 094c2c73ec77dec51dc57d8aee272a91a52ddfb8 (diff) | |
parent | 5b86afd4f67152c29c04cdefe9c9d197f39688be (diff) | |
download | servo-a6b3bf1517b8329e26c6b8dec84b294bf7d257be.tar.gz servo-a6b3bf1517b8329e26c6b8dec84b294bf7d257be.zip |
Auto merge of #17247 - Manishearth:stylo-insensitive-selectors, r=SimonSapin
stylo: Make all attribute selectors respect case insensitivity
r=simonsapin https://bugzilla.mozilla.org/show_bug.cgi?id=1364162
<!-- 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/17247)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/layout_wrapper.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/layout_wrapper.rs b/components/script/layout_wrapper.rs index f7f5396dc8d..80f87eb8504 100644 --- a/components/script/layout_wrapper.rs +++ b/components/script/layout_wrapper.rs @@ -399,11 +399,6 @@ impl<'le> TElement for ServoLayoutElement<'le> { self.get_attr(namespace, attr).is_some() } - #[inline] - fn attr_equals(&self, namespace: &Namespace, attr: &LocalName, val: &Atom) -> bool { - self.get_attr(namespace, attr).map_or(false, |x| x == val) - } - #[inline(always)] fn each_class<F>(&self, mut callback: F) where F: FnMut(&Atom) { unsafe { |