Chromium Code Reviews
DescriptionPut unqualified pseudos into the more specific rulesets.
We were incorrectly putting unqualified pseudo classes for :focus,
:visited, :-webkit-any-link and :link into the universal RuleSet which
meant we would match them for every element defeating the optimization
of having the separate rulesets.
This patch starts tracking the pseudos inside the extraction step to
make sure we put them into the right ruleset. It also adds some asserts
that the default UA sheet never adds any universal rules.
This removes one rule (:focus) from the set of rules for every element.
Patch Set 1 #Patch Set 2 : Handle combined rule like :hover:focus correctly. #Patch Set 3 : comments. #
Total comments: 4
Messages
Total messages: 14 (8 generated)
|
||||||||||||||||||||||||||||