[Webkit-unassigned] [Bug 40020] New: Inline elements with white-space:nowrap seem to behave incorrectly inside the container with display:table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 12:34:23 PDT 2010


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

           Summary: Inline elements with white-space:nowrap seem to behave
                    incorrectly inside the container with display:table
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://silverflame.at.tut.by/ff_table_nowrap.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: selenit at mail.by


When two inline-level elements with white-space:nowrap are separated just with a white-space character(s) and appear inside the element with display:table (this is often used to gain new formatting context for floats etc.), these white-space characters are ignored and the elements are displayed in one line without spaces (as if they turned into table cells).

Reproducible: Always

Steps to Reproduce:
1. Open the testcase page with Webkit browser (e.g. Chrome 5)
2. Look at the rendering of the rainbow-colored inline elements and red-bordered fixed width container.

Actual Results:  
The rainbow-colored elements are rendered in one line without any spaces, and the container exceeds the given width value.

Expected Results:  
I expect that the elements should be space-separated (like regular words) and wrap to the next line (as a whole) to fit the given container width.

MSIE8, Opera 9.63-10.53, and FF3.6 display the testcase page in three lines. There was the same bug in FF till 3.5, but it has been fixed (https://bugzilla.mozilla.org/show_bug.cgi?id=509477).

-- 
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