DescriptionFix assertion: !visualMetricsValues.isEmpty() in layoutTextOnLineOrPath
Having only whitespaces within a <tspan> and setting white-space
to pre-wrap fires the !visualMetricsValues.isEmpty() assert,
because the new renderer has no visualMetricsValues. However,
the renderer shouldn't even be created in such case.
So, if the text only contains whitespaces, and the white-space
CSS property is set to pre-wrap, and the parent of the text is
an SVG node, we avoid creating a renderer.
Peter Molnar (pmolnar.u-szeged@partner.samsung.com) started this
patch before, and he let me continue his work.
BUG=416833
Patch Set 1 #
Total comments: 4
Patch Set 2 : Next patch #
Messages
Total messages: 17 (4 generated)
|