mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00:00
We were already allowing intrinsic height layout to see definite widths, and I can't think of a reason *not* to allow it the other way around. More importantly, this fixes an issue where things with an aspect ratio didn't have a height to resolve against before. Makes the logo show up on https://basecamp.com/ :^)
8 lines
No EOL
274 B
HTML
8 lines
No EOL
274 B
HTML
<!doctype html><style>
|
|
* { outline: 1px solid black; }
|
|
body {
|
|
display: flex;
|
|
width: max-content;
|
|
height: 100px;
|
|
}
|
|
</style><body><svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><rect x=0 y=0 width=10 height=10 fill=green></svg> |