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

LibWeb: Add support for the inline-size CSS property

This commit is contained in:
implicitfield 2024-03-06 18:12:09 +04:00 committed by Andreas Kling
parent dd593d16c4
commit 18fe86adc3
5 changed files with 35 additions and 7 deletions

View file

@ -1307,6 +1307,13 @@
"image-rendering"
]
},
"inline-size": {
"logical-alias-for": [
"width"
],
"initial": "auto",
"max-values": 1
},
"inset": {
"inherited": false,
"initial": "auto",

View file

@ -375,6 +375,8 @@ void StyleComputer::for_each_property_expanding_shorthands(PropertyID property_i
return PropertyID::PaddingLeft;
case PropertyID::PaddingInlineEnd:
return PropertyID::PaddingRight;
case PropertyID::InlineSize:
return PropertyID::Width;
case PropertyID::InsetBlockStart:
return PropertyID::Top;
case PropertyID::InsetBlockEnd: