mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1823602 - Check that the lowercase attribute is different before trying to track it r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173112
This commit is contained in:
parent
c44c202b66
commit
96361c5339
@ -1999,12 +1999,16 @@ impl<'a> SelectorVisitor for StylistSelectorVisitor<'a> {
|
||||
) -> bool {
|
||||
if self.in_selector_list_of.in_nth_of() {
|
||||
self.nth_of_attribute_dependencies.insert(name.clone());
|
||||
self.nth_of_attribute_dependencies
|
||||
.insert(lower_name.clone());
|
||||
if name != lower_name {
|
||||
self.nth_of_attribute_dependencies
|
||||
.insert(lower_name.clone());
|
||||
}
|
||||
}
|
||||
|
||||
self.attribute_dependencies.insert(name.clone());
|
||||
self.attribute_dependencies.insert(lower_name.clone());
|
||||
if name != lower_name {
|
||||
self.attribute_dependencies.insert(lower_name.clone());
|
||||
}
|
||||
|
||||
true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user