mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 08:00:45 +00: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/
14 lines
312 B
HTML
14 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" />
|