mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
27ddfa84fa
And treat them as "auto" for now, per CSS-SIZING-3, with a FIXME about supporting more layout directions. This fixes an issue on MDN where `height: max-content` was not overriding height from non-CSS presentational hints.
9 lines
295 B
HTML
9 lines
295 B
HTML
<!doctype html><style>
|
|
.min{ height: min-content; }
|
|
.max { height: max-content; }
|
|
.fit { height: fit-content; }
|
|
</style>
|
|
<img class="min" src="120.png" width="120" height="60" />
|
|
<img class="max" src="120.png" width="120" height="60" />
|
|
<img class="fit" src="120.png" width="120" height="60" />
|