diff --git a/Libraries/LibWeb/CSS/Properties.json b/Libraries/LibWeb/CSS/Properties.json
index b4efd756be3..01e8aa7b180 100644
--- a/Libraries/LibWeb/CSS/Properties.json
+++ b/Libraries/LibWeb/CSS/Properties.json
@@ -2677,8 +2677,8 @@
"inherited": false,
"initial": "0",
"valid-types": [
- "length [-∞,∞]",
- "percentage [-∞,∞]"
+ "length [0,∞]",
+ "percentage [0,∞]"
],
"percentages-resolve-to": "length",
"quirks": [
@@ -2727,8 +2727,8 @@
"inherited": false,
"initial": "auto",
"valid-types": [
- "length [-∞,∞]",
- "percentage [-∞,∞]"
+ "length [0,∞]",
+ "percentage [0,∞]"
],
"valid-identifiers": [
"auto"
@@ -2744,8 +2744,8 @@
"inherited": false,
"initial": "auto",
"valid-types": [
- "length [-∞,∞]",
- "percentage [-∞,∞]"
+ "length [0,∞]",
+ "percentage [0,∞]"
],
"valid-identifiers": [
"auto"
diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/r-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/r-invalid.txt
new file mode 100644
index 00000000000..b24a9a062d4
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/r-invalid.txt
@@ -0,0 +1,10 @@
+Harness status: OK
+
+Found 5 tests
+
+5 Pass
+Pass e.style['r'] = "10" should not set the property value
+Pass e.style['r'] = "auto" should not set the property value
+Pass e.style['r'] = "10px 20px" should not set the property value
+Pass e.style['r'] = "-1px" should not set the property value
+Pass e.style['r'] = "-10%" should not set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/rx-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/rx-invalid.txt
new file mode 100644
index 00000000000..3f0e1f9714b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/rx-invalid.txt
@@ -0,0 +1,9 @@
+Harness status: OK
+
+Found 4 tests
+
+4 Pass
+Pass e.style['rx'] = "10" should not set the property value
+Pass e.style['rx'] = "none" should not set the property value
+Pass e.style['rx'] = "10px 20px" should not set the property value
+Pass e.style['rx'] = "-1px" should not set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/ry-invalid.txt b/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/ry-invalid.txt
new file mode 100644
index 00000000000..d051c190865
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/svg/geometry/parsing/ry-invalid.txt
@@ -0,0 +1,9 @@
+Harness status: OK
+
+Found 4 tests
+
+4 Pass
+Pass e.style['ry'] = "10" should not set the property value
+Pass e.style['ry'] = "none" should not set the property value
+Pass e.style['ry'] = "10px 20px" should not set the property value
+Pass e.style['ry'] = "-1px" should not set the property value
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/r-invalid.svg b/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/r-invalid.svg
new file mode 100644
index 00000000000..d8651294391
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/r-invalid.svg
@@ -0,0 +1,23 @@
+
+
diff --git a/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/rx-invalid.svg b/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/rx-invalid.svg
new file mode 100644
index 00000000000..351a111a74e
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/rx-invalid.svg
@@ -0,0 +1,22 @@
+
+
diff --git a/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/ry-invalid.svg b/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/ry-invalid.svg
new file mode 100644
index 00000000000..71682cdaa0c
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/svg/geometry/parsing/ry-invalid.svg
@@ -0,0 +1,22 @@
+
+