DescriptionImplement canHaveWhitespaceChildren on RenderSVG{Root,ModelObject}
Make said method return false to signal that we don't care about
whitespace-only Nodes in these contexts.
This avoids creating large number of text RenderObjects
(RenderSVGInlineTexts) and also avoids hitting the linear search
at the bottom of Text::textRendererIsNeeded.
R=pdr,schenney,fmalita
BUG=339470, 337607
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166238
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|