Bug 35910

Summary: A combination of overflow, margins and floated sibling forces text wrapping
Product: WebKit Reporter: Dominykas Blyžė <hello>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hello, hyatt, isherman, jamesr, lea, mitz, ojan, rniwa, robert, simon.fraser, tony
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Server 2003   
Attachments:
Description Flags
Test case none

Dominykas Blyžė
Reported 2010-03-09 03:38:08 PST
Created attachment 50288 [details] Test case See attached test case. Temporary workaround (without affecting other browsers too much) is to set a min-width on the element which has the overflow. The problem has been reproduced on: Server 2003 / Safari 4.0.3 (513.9.1) Mac OS X / Safari 4.0.4 (6531.21.10) Server 2003 / Chrome 4.1.249.1025 unknown (40600)
Attachments
Test case (1.36 KB, text/html)
2010-03-09 03:38 PST, Dominykas Blyžė
no flags
Dominykas Blyžė
Comment 1 2010-03-09 03:39:52 PST
Typo: Server 2003 / Safari 4.0.3 (531.9.1)
Ilya Sherman
Comment 2 2011-12-20 11:11:30 PST
Adding a few folks to cc list to help triage.
mitz
Comment 3 2011-12-20 11:26:27 PST
*** Bug 40113 has been marked as a duplicate of this bug. ***
Ojan Vafai
Comment 4 2012-01-03 13:58:36 PST
To be clear the bug is that in the first example in the test-case, setting overflow:hidden on the green element causes it to shrink it's width.
Robert Hogan
Comment 5 2013-04-01 05:30:13 PDT
THe test case looks fine to me. OK to close?
Ojan Vafai
Comment 6 2013-04-01 10:44:08 PDT
Yup. Looks like this was fixed at some point. As best I can tell our current rendering matches Firefox. Toggling overflow:hidden in the first test-case doesn't change the rendering.
Note You need to log in before you can comment on or make changes to this bug.