Bug 59137 - floating blocks aren't layout properly when external stylesheets are involved
Summary: floating blocks aren't layout properly when external stylesheets are involved
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 14:09 PDT by Ryosuke Niwa
Modified: 2011-04-21 14:11 PDT (History)
4 users (show)

See Also:


Attachments
demo (requires theme.css) (426 bytes, text/html)
2011-04-21 14:09 PDT, Ryosuke Niwa
no flags Details
theme.css (58 bytes, text/css)
2011-04-21 14:09 PDT, Ryosuke Niwa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2011-04-21 14:09:07 PDT
When external stylesheet specifies that a block floats and the top margin of a block below the floated block, the floated object is layout incorrectly. When the external stylesheet is cached or declared within the same document, the problem doesn't reproduce.
Comment 1 Ryosuke Niwa 2011-04-21 14:09:30 PDT
Created attachment 90596 [details]
demo (requires theme.css)
Comment 2 Ryosuke Niwa 2011-04-21 14:09:48 PDT
Created attachment 90597 [details]
theme.css
Comment 3 Ryosuke Niwa 2011-04-21 14:10:49 PDT
To reproduce the bug, download the attached files and put them in a same directory, and open floating-bug.html.

This bug only reproduces on Apple's Mac and Chromium Mac ports.