[Webkit-unassigned] [Bug 190782] New: In pre-wrap, span is displaced to the left when preceded by tab and shy hyphen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 21 15:48:32 PDT 2018


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

            Bug ID: 190782
           Summary: In pre-wrap, span is displaced to the left when
                    preceded by tab and shy hyphen
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: johan.winge at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 352877

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

Simple html file demonstrating the bug.

In a line in a <div> with style="white-space: pre-wrap;", if there is a tab character, followed by some text which includes a shy hyphen (­), followed by a <span>, the span will be displaced to the left. (Perhaps the length of the negative displacement is equal to the width of a visible hyphen, but that is just my guess.)
The attached document shows the bug clearly: when "     ­a<span>b</span>" is rendered, the "b" character overlaps the "a".

-- 
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/20181021/026de6f1/attachment-0001.html>


More information about the webkit-unassigned mailing list