mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-05 08:31:51 +00:00
If box is sized as replaced it still could be anything, not only SVG. This fixes crashing on https://www.shopify.com/ that was caused by a missing paintable for a box that has a layout node. This occurred because the box was not laid out in dimension_box_on_line().
9 lines
No EOL
308 B
HTML
9 lines
No EOL
308 B
HTML
<!DOCTYPE html><style>
|
|
.inline-flex {
|
|
display: inline-flex
|
|
}
|
|
|
|
.aspect-ratio {
|
|
aspect-ratio: .975
|
|
}
|
|
</style><div class="inline-flex aspect-ratio"><div class="img-wrapper"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAACUFjqAAAADUlEQVR4nGNgGAWkAwABNgABVtF/yAAAAABJRU5ErkJggg=="> |