1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 15:07:45 +00:00

LibWeb: Support min-inline-size & max-inline-size

Currently this assumes that writing-mode is horizontal, and therefore
only affects the min-width/max-width
This commit is contained in:
Karthik Karanth 2023-05-23 00:29:01 -07:00 committed by Andreas Kling
parent 72507c318a
commit 733b74af7c
2 changed files with 30 additions and 0 deletions

View file

@ -1227,6 +1227,11 @@
"unitless-length"
]
},
"max-inline-size": {
"logical-alias-for": "max-width",
"__comment": "Also a logical alias for max-height",
"initial": "none"
},
"max-width": {
"inherited": false,
"initial": "none",
@ -1257,6 +1262,11 @@
"unitless-length"
]
},
"min-inline-size": {
"logical-alias-for": "min-width",
"__comment": "Also a logical alias for min-height",
"initial": "0"
},
"min-width": {
"inherited": false,
"initial": "auto",