[Webkit-unassigned] [Bug 150029] New: Incorrect initial rendering with Tab characters and white-space:pre/padding-left

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 12 07:46:39 PDT 2015


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

            Bug ID: 150029
           Summary: Incorrect initial rendering with Tab characters and
                    white-space:pre/padding-left
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Macintosh
                OS: Mac OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aroben at webkit.org

Created attachment 262887
  --> https://bugs.webkit.org/attachment.cgi?id=262887&action=review
test file to demonstrate the bug

Elements with padding-left and white-space:pre that contain a Tab character render differently depending on whether the element has any element children.

To reproduce:

1. Open the attached tab-test.html
2. See that the two pairs of example lines are not left-aligned with each other
3. Select the text in the page

Now the example lines *are* left-aligned with each other. See attached GIF for an animation demonstrating the behavior.

The only difference between the lines in each pair is that one of them contains a <span> and the other does not.

This affects code rendering on github.com. This particular example was reduced from https://github.com/phonyphonecall/mb-gnu-docker-mgr/blob/7a8e67de3389a3ebf8f82e2d4ceab2ccedb5d360/mb-gnu-docker-mgr.go

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151012/6a308dc3/attachment-0001.html>


More information about the webkit-unassigned mailing list