DescriptionAllow multiple host pseudos in same compound.
As part of optimizing away :host(-context) selectors which never may
match, we also skipped selectors with multiple :host(-context) pseudos
in the same compound.
Removed assert in findBestRuleSetAndAdd as that would now be required
to traverse the whole compound again to cover everything.
BUG=601585
Committed: https://crrev.com/fd7037ec2f171b5f917f90ece37ba20b4d8506ce
Cr-Commit-Position: refs/heads/master@{#387263}
Patch Set 1 #Patch Set 2 : Rebased #Patch Set 3 : More tests #Patch Set 4 : ... and a test with :host() #
Messages
Total messages: 15 (7 generated)
|