DescriptionUse the StyleResolverParentScope for ShadowRoot
In r170168 I made pushing the parent scopes lazy for Elements, but I
didn't make it lazy for ShadowRoot. This meant that you could trigger a
style recalc on a single element in a ShadowRoot and then we'd push the
scopes out of order, where we'd push all the ShadowRoots on the way down
and then push all the elements at the end.
I wasn't able to show any rendering errors, but by inspection it's wrong
and it appears it was making us go through the
ScopedStyleTree::resolveStyleCache code path more often than needed.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170312
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|