[Webkit-unassigned] [Bug 122498] New: Extra whitespace after layout stage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 8 01:15:43 PDT 2013


           Summary: Extra whitespace after layout stage
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: r.plociennik at samsung.com

Using the following test case:

    <body contenteditable="true">
        <font color="#1b6f11">
                <span style="background-color: rgb(191,35,28);">Test1</span></font>

...a visible whitespace is appended to the first line, placed between </font> and <br>.

According to the 'white-space' processing model at https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html: '3. If 'white-space' is set to 'normal' or 'nowrap', linefeed characters are transformed for rendering purpose into one of the following characters: a space character, a zero width space character (U+200B), or no character (i.e., not rendered), according to UA-specific algorithms based on the content script.' As each line is being laid out, however: '3. If a space (U+0020) at the end of a line has 'white-space' set to 'normal', 'nowrap', or 'pre-line', it is also removed.'.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list