commit | fd7037ec2f171b5f917f90ece37ba20b4d8506ce | [log] [tgz] |
---|---|---|
author | rune <rune@opera.com> | Thu Apr 14 08:42:06 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 14 08:43:29 2016 |
tree | 767bb8116e760c9455e79c60f694de2208bc4606 | |
parent | 204cf9c4eb767c7f8cfbd85267c4b9e87b62067d [diff] |
Allow 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 Review URL: https://codereview.chromium.org/1872343002 Cr-Commit-Position: refs/heads/master@{#387263}