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

LibWeb: Define the rest of the SVG geometry properties

This defines all the (remaining) geometry properties from
https://svgwg.org/svg2-draft/geometry.html#Sizing.
This commit is contained in:
MacDue 2023-02-25 10:31:00 +01:00 committed by Andreas Kling
parent 552f63a283
commit 1fbf1073ab
2 changed files with 82 additions and 1 deletions

View file

@ -765,6 +765,34 @@
"cursor"
]
},
"cx": {
"__comment": "This is an SVG 2 geometry property, see: https://www.w3.org/TR/SVG/geometry.html#CX.",
"animation-type": "by-computed-value",
"inherited": false,
"initial": "0",
"valid-types": [
"length [-∞,∞]",
"percentage [-∞,∞]"
],
"percentages-resolve-to": "length",
"quirks": [
"unitless-length"
]
},
"cy": {
"__comment": "This is an SVG 2 geometry property, see: https://www.w3.org/TR/SVG/geometry.html#CY.",
"animation-type": "by-computed-value",
"inherited": false,
"initial": "0",
"valid-types": [
"length [-∞,∞]",
"percentage [-∞,∞]"
],
"percentages-resolve-to": "length",
"quirks": [
"unitless-length"
]
},
"direction": {
"animation-type": "none",
"inherited": true,
@ -2005,6 +2033,20 @@
"none"
]
},
"r": {
"__comment": "This is an SVG 2 geometry property, see: https://www.w3.org/TR/SVG/geometry.html#R.",
"animation-type": "by-computed-value",
"inherited": false,
"initial": "0",
"valid-types": [
"length [-∞,∞]",
"percentage [-∞,∞]"
],
"percentages-resolve-to": "length",
"quirks": [
"unitless-length"
]
},
"right": {
"animation-type": "by-computed-value",
"inherited": false,
@ -2034,6 +2076,40 @@
],
"percentages-resolve-to": "length"
},
"rx": {
"__comment": "This is an SVG 2 geometry property, see: https://www.w3.org/TR/SVG/geometry.html#RX.",
"animation-type": "by-computed-value",
"inherited": false,
"initial": "auto",
"valid-types": [
"length [-∞,∞]",
"percentage [-∞,∞]"
],
"valid-identifiers": [
"auto"
],
"percentages-resolve-to": "length",
"quirks": [
"unitless-length"
]
},
"ry": {
"__comment": "This is an SVG 2 geometry property, see: https://www.w3.org/TR/SVG/geometry.html#RY.",
"animation-type": "by-computed-value",
"inherited": false,
"initial": "auto",
"valid-types": [
"length [-∞,∞]",
"percentage [-∞,∞]"
],
"valid-identifiers": [
"auto"
],
"percentages-resolve-to": "length",
"quirks": [
"unitless-length"
]
},
"scrollbar-width": {
"affects-layout": false,
"animation-type": "by-computed-value",