[Webkit-unassigned] [Bug 248877] New: Regression: Trailing whitespace causes text overflow with flexbox

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 7 07:51:17 PST 2022


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

            Bug ID: 248877
           Summary: Regression: Trailing whitespace causes text overflow
                    with flexbox
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 463916

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

Code reproduction

Trailing whitespace is causing the text to overflow when it should not be. This appears to only happen when display: flex is used.

Steps to reproduce:

1. Open code reproduction on Safari for macOS.
2. Observe that only the third item has ellipses.

There are three .item elements in this test:
- The first element has no whitespace
- The second element has leading whitespace
- The third element has trailing whitespace


Other Information:

- I can reproduce this on Safari 16.4 for macOS or STP 156
- I cannot reproduce this on Safari 16.1 for macOS
- I cannot reproduce this on iOS 16.2 developer beta 4
- I cannot reproduce this in Chrome or Firefox

-- 
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/20221207/fc5a5fe8/attachment-0001.htm>


More information about the webkit-unassigned mailing list