DescriptionDon't propagate Inherit ad infinitum.
In recalcStyle, when the StyleRecalcChange became Inherit it was effectively
a Force causing a full subtree recalc even for the parts of the subtree that
didn't need to propagate inherited properties further. For instance, setting
document.body.style.color would always cause a full document recalc.
This change effectively reverts https://codereview.chromium.org/119693002
which relied on Inherit being a Force for SubtreeStyleChange.
R=esprehn@chromium.org
BUG=336908
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165739
Patch Set 1 #Patch Set 2 : --no-find-copies #
Total comments: 2
Patch Set 3 : Don't abuse timeline tests #
Total comments: 4
Patch Set 4 : Fixed test review issues. #
Messages
Total messages: 12 (0 generated)
|