Chromium Code Reviews
DescriptionAdd ASSERT childNeedsDistributionRecalc in ComposedTreeTraversal
Bug 450115 is about changing behaviors of some attributes to
use the composed trees when used in Shadow DOM. We'll need to
change some NodeTraversal to ComposedTreeTraversal, but before
doing so, this patch adds necessary but currently missing ASSERT
to ComposedTreeTraversal, matching its ASSERTs to the one in
NodeRenderingTraversal.
The fix to Text::textRendererIsNeeded() supresses, under rare
condition, its memory opmitization to avoid creating Renderer
when it's not needed. The comment suggests it's not essential,
and it's very rare to hit this condition; one such example is
when a JS handler of DOMNodeInsertedIntoDocument modifies
text.
BUG=450115
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188852
Patch Set 1 #Patch Set 2 : fix ifdef include does not build #Patch Set 3 : fix for fast\images\element-gcd-while-generating-alt-content.html #
Total comments: 2
Messages
Total messages: 9 (2 generated)
|
||||||||||||||||||||||||||||