[Webkit-unassigned] [Bug 258265] New: `text-overflow: ellipsis` doesn't work with `overflow: clip`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 18 14:02:18 PDT 2023


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

            Bug ID: 258265
           Summary: `text-overflow: ellipsis` doesn't work with `overflow:
                    clip`
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: benoit.rouleau at icloud.com

Created attachment 466747

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

HTML file showing the issue

See the attached HTML file. The `div` has `text-overflow: ellipsis` on it, which combined with its width that is smaller than its contents + `white-space: nowrap` + `overflow: clip`, should show an ellipsis where the text gets clipped. It works in all other major browsers (Chrome, Edge, and Firefox). In Safari, it only works if we change `overflow: clip` to `overflow: hidden`.

-- 
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/20230618/386cd6fd/attachment.htm>


More information about the webkit-unassigned mailing list