[Webkit-unassigned] [Bug 21925] 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 Feb 16 05:14:25 PST 2010


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


David Jennes <david.jennes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david.jennes at gmail.com




--- Comment #2 from David Jennes <david.jennes at gmail.com>  2010-02-16 05:14:24 PST ---
I can confirm this bug, noticed it today while developing some web app. It had
me totally stumped for a while, I thought I was doing something wrong somewhere
but couldn't understand why the calculated width was 0 pixels.

Removing the text-transform attribute corrects webkit's behavior. Also, a span
inside the div isn't needed, that's how I discovered it in my case: after my
faulty div come some other elements (img, div, whatever) and normally they
display fine (next to each other). When the transform attribute is set, the
faulty div gets a calculated width of 0px (I am not setting the width anywhere)
so the other elements that come after it are now displayed on top of it.

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