Fix [foo=bar i] selectors for Stylo

This commit is contained in:
Simon Sapin 2017-05-17 17:10:20 +02:00
parent 0b1e51de53
commit 2ca2c2d2be

View file

@ -1393,7 +1393,7 @@ impl<'le> ::selectors::MatchAttr for GeckoElement<'le> {
attr.ns_or_null(),
attr.select_name(self.is_html_element_in_html_document()),
value.as_ptr(),
/* ignoreCase = */ false)
/* ignoreCase = */ true)
}
}
fn match_attr_includes(&self, attr: &AttrSelector<Self::Impl>, value: &Atom) -> bool {