[Webkit-unassigned] [Bug 228645] New: White-space in span element with inline-block style gets eaten-up in innerText and clipboard text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 30 08:28:58 PDT 2021


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

            Bug ID: 228645
           Summary: White-space in span element with inline-block style
                    gets eaten-up in innerText and clipboard text
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: skvenkat at tnqsoftware.co.in

Created attachment 434631

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

A sample showing the white-space bug

Unlike Firefox browser, all the Webkit browsers seem to eat-up white-space in span tag if it carries a inline-block style.

<div><span>Hello</span><span style="display:inline-block; width:10px;"> </span><span>World!</span></div>

-- 
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/20210730/9aedbc87/attachment-0001.htm>


More information about the webkit-unassigned mailing list