DescriptionMerge 89183 - 2011-06-17 Julien Chaffraix <jchaffraix@webkit.org>
Reviewed by Darin Adler.
Assertion failure in SVGTextLayoutEngine constructor (!m_layoutAttributes.isEmpty())
https://bugs.webkit.org/show_bug.cgi?id=62884
* svg/custom/assert-empty-layout-attributes-expected.txt: Added.
* svg/custom/assert-empty-layout-attributes.svg: Added.
2011-06-17 Julien Chaffraix <jchaffraix@webkit.org>
Reviewed by Darin Adler.
Assertion failure in SVGTextLayoutEngine constructor (!m_layoutAttributes.isEmpty())
https://bugs.webkit.org/show_bug.cgi?id=62884
Test: svg/custom/assert-empty-layout-attributes.svg
* rendering/svg/SVGRootInlineBox.cpp:
(WebCore::SVGRootInlineBox::computePerCharacterLayoutInformation): Added a early return here.
It is not needed to do the text layout algorithm if you don't have any layout information as
your size is (0, 0) anyway.
TBR=jchaffraix@webkit.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=89445
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|