| Summary: | [LFC][Floating] Containing block of a float could push the candidate position beyond the current float. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
Created attachment 346396 [details]
Patch
Committed r234508: <https://trac.webkit.org/changeset/234508> |
<div style="float: left; width: 210px; height: 10px;"></div> <div style="float: left; width: 10px; height: 10px;"></div> <div style="position: relative; top: 0px; left: 0px; width: 100px; height: 40px;"> <div id=nested style="float: left; width: 90px; height: 10px;"></div> </div> In this case the "nested" float's containing block pushes the candidate rect to (0, 0) while the current (last) float is already at 220px