mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 15:07:45 +00:00
LibWeb: Parse CSS gap property
Including the legacy grid-gap, grid-column-gap and grid-row-gap properties.
This commit is contained in:
parent
e00b16460c
commit
9e6612c49b
5 changed files with 131 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue