LadybirdBrowser/ladybird

Float issue with full width divs

jamierocks opened this issue · 0 comments

Test Program

<div style="width: 100%; float: left; background-color: red;">
    <h2>Well</h2>
    <p>well</p>
</div>
<div style="width: 100%; float: left; background-color: red;">
    <h2>Hello</h2>
    <p>hello</p>
</div>
<div style="width: 100%; float: left; background-color: red;">
    <h2>Friends</h2>
    <p>friends</p>
</div>

Expected Result (Firefox)

image

Actual Result (Ladybird)

image

Note the white line between the second and third divs.

Thoughts

Might be related to GH-107 and GH-231. Might be a similar issue to SerenityOS/serenity#24241.