1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibWeb: Accept height: {min,max,fit}-content

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.
This commit is contained in:
Andreas Kling 2023-08-20 18:25:54 +02:00
parent 90e95d38d7
commit 27ddfa84fa
4 changed files with 49 additions and 2 deletions

View file

@ -1182,7 +1182,10 @@
"percentage [0,∞]"
],
"valid-identifiers": [
"auto"
"auto",
"fit-content",
"max-content",
"min-content"
],
"percentages-resolve-to": "length",
"quirks": [