[Webkit-unassigned] [Bug 111675] When we set word-wrap: break-word and xml:space="preserve" to svg text element, the text is collapsed.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 7 20:40:17 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=111675
--- Comment #4 from Yuki Sekiguchi <yuki.sekiguchi at access-company.com> 2013-03-07 20:42:42 PST ---
Hi Stephen,
Thank you for reviewing.
(In reply to comment #2)
> > Source/WebCore/rendering/RenderBlockLineLayout.cpp:2841
> > + breakWords = breakAll = false;
>
> I believe that WebKit style dictates that this be two lines, with one assignment on each line.
OK. I understand it.
> > LayoutTests/svg/text/preserve-break-word-expected.html:6
> > +<text x="100" y="100" style="word-wrap: break-word">abcdef</text>
>
> Can you remove the style on the <text>? As I understand your patch, the SVG should appear the same as something with no word-wrap defined.
Sorry. You are right.
Fixed.
> > LayoutTests/svg/text/preserve-break-word.html:6
> > +<text x="100" y="100" style="word-wrap: break-word"><tspan xml:space="preserve">abc</tspan>def</text>
>
> Could you please provide 3 <text> nodes? One with word-wrap: break word, one with xml:space="preserve" and one with both (the line you have already is the one with both).
Added test case.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list