[Webkit-unassigned] [Bug 265252] New: Text in flex items not breaking under specific conditions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 22 08:59:41 PST 2023


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

            Bug ID: 265252
           Summary: Text in flex items not breaking under specific
                    conditions
           Product: WebKit
           Version: Safari 17
          Hardware: Mac (Apple Silicon)
                OS: macOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nivek2002 at gmail.com

Created attachment 468729

  --> https://bugs.webkit.org/attachment.cgi?id=468729&action=review

Test HTML page showing bug and other permutation which do not exhibit bug

This is a very peculiar bug that only seems to be happening in Safari. It was discovered when trying to render Cambodian text in a flex child, though the bug exists even when displaying Roman scripts.

In a Flexbox child, with a text string containing no (U+0020) spaces, IF the text:

- contains an inline-block element
- has zero-width space (U+200B) characters between each word
- all elements are wrapped in span elements

A screenshot and example HTML document for testing is being attached.

-- 
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/20231122/00871cd0/attachment-0001.htm>


More information about the webkit-unassigned mailing list