Bug 35910 - A combination of overflow, margins and floated sibling forces text wrapping
Summary: A combination of overflow, margins and floated sibling forces text wrapping
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows Server 2003
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 40113 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-09 03:38 PST by Dominykas Blyžė
Modified: 2013-04-01 10:44 PDT (History)
11 users (show)

See Also:


Attachments
Test case (1.36 KB, text/html)
2010-03-09 03:38 PST, Dominykas Blyžė
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominykas Blyžė 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)
Comment 1 Dominykas Blyžė 2010-03-09 03:39:52 PST
Typo: Server 2003 / Safari 4.0.3 (531.9.1)
Comment 2 Ilya Sherman 2011-12-20 11:11:30 PST
Adding a few folks to cc list to help triage.
Comment 3 mitz 2011-12-20 11:26:27 PST
*** Bug 40113 has been marked as a duplicate of this bug. ***
Comment 4 Ojan Vafai 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.
Comment 5 Robert Hogan 2013-04-01 05:30:13 PDT
THe test case looks fine to me. OK to close?
Comment 6 Ojan Vafai 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.