DescriptionDon't use cached inherited props for distributed nodes.
The -webkit-user-modify, which is inherited, does not follow normal inheritance
for distributed nodes in a shadow dom tree. Distributed nodes will have
-webkit-user-modify propagated from the shadow host overriding any inheritance
from non-distributed shadow dom nodes.
This propagation, which happens in StyleResolver::styleForElement will not be
caught will not be caught when computing the cacheHash in
StyleResolver::applyMatchedProperties and the inherited properties might
incorrectly be shared, effectively cancelling out the -webkit-user-modify
propagation.
R=esprehn
BUG=339463
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166414
Patch Set 1 #Patch Set 2 : Allow sharing inherited properties if -webkit-user-modify is read-only. #
Messages
Total messages: 27 (0 generated)
|