Chromium Code Reviews
DescriptionShare recalcChildStyle between Element and ShadowRoot.
Instead of needing to update both loops any time we change anything we
should just put the Element specific things in Element::recalcStyle and
then put the shared method into ContainerNode. I also removed an old
comment about ShadowRoot::recalcStyle not supporting adjacent selectors
properly (I fixed that bug a long time ago).
There should be no change in behavior, I just moved the code around.
BUG=399816
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181500
Patch Set 1 #Patch Set 2 : merge blocks. #Patch Set 3 : Remove code from my other branch for whitespace. #Patch Set 4 : Remove code from other branch. #Patch Set 5 : Add back parent scope for ShadowRoot. #
Messages
Total messages: 14 (6 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||