summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Properties.json
diff options
context:
space:
mode:
authormartinfalisse <martinmotteditfalisse@gmail.com>2022-11-06 12:42:22 +0100
committerAndreas Kling <kling@serenityos.org>2022-11-07 10:06:07 +0100
commit9e6612c49b874f5203d0d1fe31a070492ca219c3 (patch)
treefc66dffc58ffd2d3c64332bac9b16a9c6ad3cc0a /Userland/Libraries/LibWeb/CSS/Properties.json
parente00b16460ca06f913d4bf4414c5bdd0b300560d1 (diff)
downloadserenity-9e6612c49b874f5203d0d1fe31a070492ca219c3.zip
LibWeb: Parse CSS gap property
Including the legacy grid-gap, grid-column-gap and grid-row-gap properties.
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Properties.json')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Properties.json94
1 files changed, 94 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Properties.json b/Userland/Libraries/LibWeb/CSS/Properties.json
index 7a96af036e..328fce3367 100644
--- a/Userland/Libraries/LibWeb/CSS/Properties.json
+++ b/Userland/Libraries/LibWeb/CSS/Properties.json
@@ -512,6 +512,20 @@
"hashless-hex-color"
]
},
+ "column-gap": {
+ "inherited": false,
+ "initial": "auto",
+ "valid-types": [
+ "length [0,∞]",
+ "percentage [0,∞]"
+ ],
+ "valid-identifiers": [
+ "auto"
+ ],
+ "quirks": [
+ "unitless-length"
+ ]
+ },
"content": {
"inherited": false,
"initial": "normal",
@@ -713,6 +727,25 @@
"normal"
]
},
+ "gap": {
+ "inherited": false,
+ "initial": "auto",
+ "valid-types": [
+ "length [0,∞]",
+ "percentage [0,∞]"
+ ],
+ "max-values": 2,
+ "valid-identifiers": [
+ "auto"
+ ],
+ "quirks": [
+ "unitless-length"
+ ],
+ "longhands": [
+ "row-gap",
+ "column-gap"
+ ]
+ },
"grid-column": {
"inherited": false,
"initial": "auto",
@@ -737,6 +770,20 @@
"string"
]
},
+ "grid-column-gap": {
+ "inherited": false,
+ "initial": "auto",
+ "valid-types": [
+ "length [0,∞]",
+ "percentage [0,∞]"
+ ],
+ "valid-identifiers": [
+ "auto"
+ ],
+ "quirks": [
+ "unitless-length"
+ ]
+ },
"grid-column-start": {
"inherited": false,
"initial": "auto",
@@ -747,6 +794,25 @@
"string"
]
},
+ "grid-gap": {
+ "inherited": false,
+ "initial": "auto",
+ "valid-types": [
+ "length [0,∞]",
+ "percentage [0,∞]"
+ ],
+ "max-values": 2,
+ "valid-identifiers": [
+ "auto"
+ ],
+ "quirks": [
+ "unitless-length"
+ ],
+ "longhands": [
+ "grid-row-gap",
+ "grid-column-gap"
+ ]
+ },
"grid-row": {
"inherited": false,
"initial": "auto",
@@ -771,6 +837,20 @@
"string"
]
},
+ "grid-row-gap": {
+ "inherited": false,
+ "initial": "auto",
+ "valid-types": [
+ "length [0,∞]",
+ "percentage [0,∞]"
+ ],
+ "valid-identifiers": [
+ "auto"
+ ],
+ "quirks": [
+ "unitless-length"
+ ]
+ },
"grid-row-start": {
"inherited": false,
"initial": "auto",
@@ -1216,6 +1296,20 @@
"unitless-length"
]
},
+ "row-gap": {
+ "inherited": false,
+ "initial": "auto",
+ "valid-types": [
+ "length [0,∞]",
+ "percentage [0,∞]"
+ ],
+ "valid-identifiers": [
+ "auto"
+ ],
+ "quirks": [
+ "unitless-length"
+ ]
+ },
"stroke": {
"affects-layout": false,
"inherited": true,