[Webkit-unassigned] [Bug 124206] Support overflow-wrap:break-word on simple line path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 13 00:02:56 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=124206





--- Comment #6 from Andreas Kling <akling at apple.com>  2013-11-13 00:01:33 PST ---
(From update of attachment 216677)
View in context: https://bugs.webkit.org/attachment.cgi?id=216677&action=review

> Source/WebCore/rendering/SimpleLineLayout.cpp:388
> +                    for (unsigned breakEnd = lineStart + 1; breakEnd <= wordEnd; ++breakEnd) {
> +                        float splitWidth = measureWord(textRenderer, text, textLength, lineStart, breakEnd, 0, collapseWhitespace, font, tabWidth, spaceWidth);

I bet there's a more efficient way of doing this. The complexity:benefit ratio seems good as-is though.

-- 
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