mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
Whenever we generate line boxes, we might end up with a residual vertical float clearance by way of having a `<br>` with `clear: ..` set. Set the Y offset of the next block level box to place by this vertical clearance. Relates to #4058.
15 lines
182 B
HTML
15 lines
182 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.a {
|
|
background: green;
|
|
float: left;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
.b {
|
|
clear: both;
|
|
}
|
|
</style>
|
|
<div class="a"></div>
|
|
<br class="b">
|
|
foo
|