[Webkit-unassigned] [Bug 259709] New: "-webkit-box-decoration-break: clone" prevents the text from wrapping

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 1 15:38:06 PDT 2023


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

            Bug ID: 259709
           Summary: "-webkit-box-decoration-break: clone" prevents the
                    text from wrapping
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Intel)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: thepoopmahn at gmail.com
                CC: mmaxfield at apple.com

Created attachment 467173

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

Reproduction screenshot

This happens when the inline element where this property is applied contains:
a) inline elements mixed with text nodes (e.g. whitespaces between <span>); OR
b) inline elements only

Adding "overflow-wrap: break-word" to:
a) has no effect
b) isn't working correctly

However, text wrapping works fine when the element contains:
- inline-block elements mixed with text nodes
- inline-block elements only
- text nodes only

Tested in:
- Safari 16.4 (broken)
- Safari 16.6 (broken)
- Chrome 115 (works)
- Firefox 115 (works)

Reproduction:
https://codepen.io/poophuman/pen/KKrJPNy

-- 
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/20230801/4411e0b3/attachment-0001.htm>


More information about the webkit-unassigned mailing list