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

LibWeb: Make align-items: normal behave like stretch on flex items

CSS-ALIGN-3 tells us that `normal` behavior inside flex containers is
simply to behave as `stretch` so this patch makes them behave the same
inside FFC.

Furthermore, we change the `align-items` initial value to `normal`,
matching other engines.
This commit is contained in:
Andreas Kling 2023-08-20 16:39:49 +02:00
parent d05be0d504
commit 90e95d38d7
4 changed files with 26 additions and 3 deletions

View file

@ -18,7 +18,7 @@
},
"align-items": {
"inherited": false,
"initial": "stretch",
"initial": "normal",
"valid-types": [
"align-items"
]