Bug 188264 - [LFC][Floating] Containing block of a float could push the candidate position beyond the current float.
Summary: [LFC][Floating] Containing block of a float could push the candidate position...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-08-02 11:11 PDT by zalan
Modified: 2018-08-02 12:41 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.38 KB, patch)
2018-08-02 11:24 PDT, zalan
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2018-08-02 11:11:08 PDT
<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
Comment 1 zalan 2018-08-02 11:24:48 PDT
Created attachment 346396 [details]
Patch
Comment 2 zalan 2018-08-02 12:40:42 PDT
Committed r234508: <https://trac.webkit.org/changeset/234508>
Comment 3 Radar WebKit Bug Importer 2018-08-02 12:41:32 PDT
<rdar://problem/42868709>