Schedule fewer sets for ruleset invalidations
Reported by
r...@opera.com,
Mar 30 2017
|
|||||||||
Issue descriptionIn issue 680549 we limited invalidation of type selectors to the selectors where there were no other simple selectors for which we had an invalidation set. So, for a stylesheet like this: div {} #id span {} we would invalidate all divs, but only invalidate spans which are descendants of #id through scheduling the invalidation set for #id. Still, we schedule invalidation sets both for ".a" and ".b" if we have a selector ".a .b" where we could have scheduled for ".a" only, avoiding invalidation of ".b" not inside ".a". For selectors with more than one combinators like ".a #b .c" it might be better to schedule invalidations for "#b" instead of ".a". Also, if we have a selector ".a .b .c" and no elements in the document has a class ".b", not scheduling a set for ".a" could be an optimization. See https://codereview.chromium.org/2683373003/ which was done before the changes for type selector and custom pseudo optimizations were done for issue 680549 .
,
Sep 28 2017
,
Oct 19 2017
The assigned owner "rune@opera.com" is not able to receive e-mails, please re-triage. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 19 2017
,
Nov 8 2017
,
Nov 30 2017
,
Dec 6 2017
,
Dec 6
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Dec 7
Not likely to be fixed any time soon. |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by benhenry@chromium.org
, Sep 28 2017