[Webkit-unassigned] [Bug 262497] Inconsistency in line-breaking due to special-casing of ASCII

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 4 09:44:48 PDT 2023


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

--- Comment #5 from zalan <zalan at apple.com> ---
according to https://www.unicode.org/reports/tr14/#SY, the SOLIDUS symbol allows line breaking _after_ (except certain cases).

parler/écouter <- due to the character 'é' we consult ICU and ICU tells us there's a soft wrap opportunity _after_ the SOLIDUS.

écouter/parler <- we consider it as a simple case (characters are all within a certain range, see lineBreakTable in BreakLines.cpp) so we end up not consulting ICU and go with _no_ soft wrap opportunity after the SOLIDUS.

I think Blink has the same logic/map and that's why they produce the same result.

(I am sure Myles has some insight here)

-- 
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/20231004/5ef48489/attachment.htm>


More information about the webkit-unassigned mailing list