[Webkit-unassigned] [Bug 21925] New: li or div with float and text-transform wraps unexpectedly when dynamically updating inner span

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 28 08:50:43 PDT 2008


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

           Summary: li or div with float and text-transform wraps
                    unexpectedly when dynamically updating inner span
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mhenry07 at yahoo.com


Overview Description:

The li or div element should resize horizontally to fit the updated content,
but wraps instead.

Steps to Reproduce:
For an li:
1) Create a ul with an li and a span within the li.
2) Set the style on the li to "float: left; text-transform: uppercase;"
3) Use JavaScript to add text to the span in step (1).

For a div:
1) Create a div with a a span within the div.
2) Set the style on the div to "float: left; text-transform: uppercase;"
3) Use JavaScript to add text to the span in step (1).

Actual Results:
The li/div from step (1) wraps vertically.

Expected Results:
The li/div from step (1) should expand horizontally to fit the updated text.

Build Date & Platform:
WebKit-r37894 (2008-10-27) on Windows XP SP3

Additional Builds and Platforms:
Also occurs on:
Safari 3.1.2 (525.21) on Windows XP SP3
Google Chrome 0.2.149.30 on Windows XP SP3
Safari 3.1.1 (5525.20) on Mac OS X 10.5.3

Doesn't occur on:
Mozilla Firefox 3.0.3 on Windows XP SP3
Internet Explorer 7.0.5730.13 on Windows XP SP3


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



More information about the webkit-unassigned mailing list