mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
For `float: left` boxes, we would take the available space into account and push boxes down as required. This applies that same logic to `float: right` boxes, where we would previously only compare their offset from the edge using `>= 0`, which was almost always true. Fixes #4750.
10 lines
110 B
HTML
10 lines
110 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
a {
|
|
float: right;
|
|
width: 100%;
|
|
}
|
|
</style>
|
|
<li><a>A</a></li>
|
|
<li><a>B</a></li>
|