1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:18:11 +00:00
serenity/Tests/LibWeb/Layout/input/block-and-inline/float-clear-by-line-break.html
Andi Gallo 62f15f94d2 LibWeb: Better handling of floating boxes from inline formatting context
Handle the clear property for floating boxes and add tracking for
vertical clearence within an inline formatting context.
2023-08-01 07:38:19 +02:00

14 lines
No EOL
175 B
HTML

<style>
.a {
float: left;
width: 100px;
}
br {
clear: left;
}
</style>
<span class="a">A</span><span>1</span>
<br>
<span class="a">B</span><span>2</span>