Summary: | Float elements not filling container width | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | samuel groves <srgroves> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WORKSFORME | ||||||
Severity: | Normal | CC: | macpherson | ||||
Priority: | P3 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | OS X 10.6 | ||||||
URL: | http://www.taigaforum.com/example.html | ||||||
Attachments: |
|
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. |
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.