mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:17:35 +00:00
LibWeb: Implement the math-depth
CSS property
This one is a bit fun because it can be `add(<integer>)` or `auto-add`, but children have to inherit the computed value not the specified one. We also have to compute it before computing the font-size, because of `font-size: math` which will be implemented later.
This commit is contained in:
parent
53f3ed026a
commit
6476dea898
19 changed files with 285 additions and 11 deletions
|
@ -1479,6 +1479,17 @@
|
|||
"unitless-length"
|
||||
]
|
||||
},
|
||||
"math-depth": {
|
||||
"inherited": true,
|
||||
"initial": "0",
|
||||
"__comment": "FIXME: `add(<integer>)` is also valid but we can't represent that here yet.",
|
||||
"valid-types": [
|
||||
"integer"
|
||||
],
|
||||
"valid-identifiers": [
|
||||
"auto-add"
|
||||
]
|
||||
},
|
||||
"math-shift": {
|
||||
"inherited": true,
|
||||
"initial": "normal",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue