DescriptionExtending the NthIndexCache to support caching for the type
of index.
we have a cache for :nth-child/:nth-last-child indices
called NthIndexCache but for :nth-of-type/:nth-last-of-type
we always count siblings. So implementing cache for latter.
BUG=475720
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195034
Patch Set 1 #Patch Set 2 : Incorporating Review Comments #Patch Set 3 : Patch with new design #
Total comments: 10
Patch Set 4 : Incorporating Review Comments #Patch Set 5 : fixing some nits #Patch Set 6 : Adding Layout Tests #
Total comments: 3
Patch Set 7 : Incorporated Review Comments #
Total comments: 1
Patch Set 8 : Fixing nit #Patch Set 9 : Rebasing #
Messages
Total messages: 34 (12 generated)
|