Bug 50883 - Float elements not filling container width
Summary: Float elements not filling container width
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All OS X 10.6
: P3 Normal
Assignee: Nobody
URL: http://www.taigaforum.com/example.html
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-11 22:34 PST by samuel groves
Modified: 2012-06-13 21:44 PDT (History)
1 user (show)

See Also:


Attachments
example of bug (928 bytes, text/html)
2010-12-11 22:34 PST, samuel groves
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description samuel groves 2010-12-11 22:34:45 PST
Created attachment 76313 [details]
example of bug

Certain float elements with overflow set to hidden do not automatically fill the width of their parent div. This resembles a bug found in old versions of Internet Explorer where elements would not auto-fit to their parent's width.
In example.html, the div containing "middle column row 2" should not have any breaks. Removing "overflow: hidden" or setting its div's width to 100% fixes the problem.

It seems this was introduced between 533.19.4 and 534.10 inclusive, as it is NOT present in OS X Safari v5.0.3 using WebKit v533.19.4 but IS present in Chrome v8.0.552.215 using WebKit v534.10.
Comment 1 Luke Macpherson 2012-06-13 21:44:06 PDT
Test case looks fine in current webkit, and incidentally renders the same as firefox. This bug is quite old so presumably it has been fixed in the mean time, though it wasn't ever marked confirmed.