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
Notes: sideshowbarker 2024-07-16 18:03:21 +09:00
2 changed files with 82 additions and 1 deletions

View File

@ -52,6 +52,8 @@ column-count: auto
column-gap: auto
content: normal
cursor: auto
cx: 0px
cy: 0px
direction: ltr
display: block
fill: rgb(0, 0, 0)
@ -81,7 +83,7 @@ grid-row-start: auto
grid-template-areas:
grid-template-columns:
grid-template-rows:
height: 1411px
height: 1445px
image-rendering: auto
inset-block-end: auto
inset-block-start: auto
@ -136,8 +138,11 @@ padding-top: 0px
pointer-events: auto
position: static
quotes: auto
r: 0px
right: auto
row-gap: auto
rx: auto
ry: auto
scrollbar-width: auto
stop-color: rgb(0, 0, 0)
stop-opacity: 1

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",