mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
Before this change, we were always behaving as if box-sizing were content-box for block-level replaced element widths. This fixes the squishy logo on https://videolan.org/
15 lines
312 B
HTML
15 lines
312 B
HTML
<!doctype html><style>
|
|
* { outline: 1px solid black; }
|
|
body {
|
|
float: left;
|
|
}
|
|
img {
|
|
display: block;
|
|
padding-left: 50px;
|
|
padding-right: 50px;
|
|
width: 400px;
|
|
height: 400px;
|
|
box-sizing: border-box;
|
|
}
|
|
</style><body><img src="../400.png" />
|