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

LibWeb: Use new StyleValue parsing for flex

To make this work, we also add `none` as a valid identifier for `flex`.
(This is correct, we just didn't need it before.)
This commit is contained in:
Sam Atkins 2023-05-18 16:21:10 +01:00 committed by Andreas Kling
parent 021fd15434
commit 91c9d10a78
2 changed files with 38 additions and 39 deletions

View file

@ -647,6 +647,9 @@
"flex": {
"inherited": false,
"initial": "0 1 auto",
"valid-identifiers": [
"none"
],
"longhands": [
"flex-grow",
"flex-shrink",