[Webkit-unassigned] [Bug 240509] New: Incorrect line breaking for Javanese

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 16 23:27:49 PDT 2022


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

            Bug ID: 240509
           Summary: Incorrect line breaking for Javanese
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkitbugs at lindenbergsoftware.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

https://lindenbergsoftware.com/apple/safari/javanese-lb.html
contains a <p> element with style="overflow-wrap: break-word".

According to https://drafts.csswg.org/css-text/#overflow-wrap-property, this enables line breaks "at an arbitrary point if there are no otherwise-acceptable break points in the line", under the constraint that "grapheme clusters must stay together as one unit". (With 

https://drafts.csswg.org/css-text/#character makes clear that "A UA must use the extended grapheme cluster (not legacy grapheme cluster), as defined in UAX29, as the basis for its typographic character unit" but may tailor it where necessary to improve behavior.

The actual line breaking for Javanese with this setting shows several issues, that can be seen by resizing the window and thus the paragraph.

Screenshot 1 shows that a dependent vowel, U+A9B4 ◌ꦴ, is separated from the other characters of the extended grapheme cluster ꦪꦺꦴ it belongs to.

Screenshot 2 shows that an extended grapheme cluster ꦪꦺꦴ is not separated from the preceding extended grapheme cluster ꦤ꧀ꦲꦁ even though it clearly does not fit on the line.

Screenshot 3 shows that similarly several other extended grapheme clusters are allowed to stay on lines that they don't fit into: ꦧ꧀, ꦤ꧀ꦤꦺ, ꦤ꧀.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220517/ebdde26c/attachment.htm>


More information about the webkit-unassigned mailing list