[Webkit-unassigned] [Bug 17427] Line breaking opportunities at the end of a text node are missed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 17 17:44:01 PDT 2012


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





--- Comment #9 from Darin Adler <darin at apple.com>  2012-09-17 17:44:30 PST ---
(From update of attachment 164327)
View in context: https://bugs.webkit.org/attachment.cgi?id=164327&action=review

> Source/WebCore/ChangeLog:13
> +        Adding semantic markup to text should not affect the line-breaking
> +        algorithm. The standard line-breaking algorithm is defined in Unicode
> +        Annex 14 (UAX14) and strict adherence to it is necessary to make the
> +        best use of limited screen space on mobile devices, for consistency
> +        with other web browsers and applications in general, and for web
> +        applications that require line breaking to be consistent.

This paragraph is not needed in ChangeLog.

> Source/WebCore/ChangeLog:18
> +        This patch determines whether or not a line break is possible
> +        immediately before a text node by running the line-breaking algorithm on
> +        a temporary string made from the first two UChars of that text node and
> +        the last two UChars of the preceding text node.

Why are two characters before and two character after sufficient?

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