Bug 188264

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 RenderingAssignee: 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:
Description Flags
Patch koivisto: review+

zalan
Reported 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
Attachments
Patch (3.38 KB, patch)
2018-08-02 11:24 PDT, zalan
koivisto: review+
zalan
Comment 1 2018-08-02 11:24:48 PDT
zalan
Comment 2 2018-08-02 12:40:42 PDT
Radar WebKit Bug Importer
Comment 3 2018-08-02 12:41:32 PDT
Note You need to log in before you can comment on or make changes to this bug.