DescriptionUse elementAfter/Before, not nodeAfter/Before for nth-invalidation.
If the node after/before the inserted element is a text node, and that
text node is the last/first sibling, then it shouldn't prevent the
optimization for skipping recalc for nth/nth-last selectors.
R=esprehn@chromium.org
Committed: https://crrev.com/44689f753396097291572e2f2f7f69fd2fdb38f4
Cr-Commit-Position: refs/heads/master@{#410758}
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|