Skip to content

Truly independent web browser

LibWeb: Import registered property animation WPT coverage

Andreas Klinga7de01ceeb3e
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.txt
new file mode 100644
index 00000000000..132941aa9e0
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <angle>#
+Pass Animating a custom property of type <angle># with a single keyframe
+Pass Animating a custom property of type <angle># with additivity
+Fail Animating a custom property of type <angle># with a single keyframe and additivity
+Fail Animating a custom property of type <angle># with iterationComposite
+Pass Animating a custom property of type <angle># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.txt
new file mode 100644
index 00000000000..8f2b87fdd36
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <angle>+
+Pass Animating a custom property of type <angle>+ with a single keyframe
+Pass Animating a custom property of type <angle>+ with additivity
+Fail Animating a custom property of type <angle>+ with a single keyframe and additivity
+Fail Animating a custom property of type <angle>+ with iterationComposite
+Pass Animating a custom property of type <angle>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.txt
new file mode 100644
index 00000000000..4373338184f
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <color>#
+Pass Animating a custom property of type <color># with a single keyframe
+Pass Animating a custom property of type <color># with additivity
+Fail Animating a custom property of type <color># with a single keyframe and additivity
+Fail Animating a custom property of type <color># with iterationComposite
+Pass Animating a custom property of type <color># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-space-list.txt
new file mode 100644
index 00000000000..d6c7e54ddd9
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <color>+
+Pass Animating a custom property of type <color>+ with a single keyframe
+Pass Animating a custom property of type <color>+ with additivity
+Fail Animating a custom property of type <color>+ with a single keyframe and additivity
+Fail Animating a custom property of type <color>+ with iterationComposite
+Pass Animating a custom property of type <color>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.txt
new file mode 100644
index 00000000000..6b38b40906a
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <integer>#
+Pass Animating a custom property of type <integer># with a single keyframe
+Pass Animating a custom property of type <integer># with additivity
+Fail Animating a custom property of type <integer># with a single keyframe and additivity
+Fail Animating a custom property of type <integer># with iterationComposite
+Pass Animating a custom property of type <integer># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.txt
new file mode 100644
index 00000000000..230fa39e783
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <integer>+
+Pass Animating a custom property of type <integer>+ with a single keyframe
+Pass Animating a custom property of type <integer>+ with additivity
+Fail Animating a custom property of type <integer>+ with a single keyframe and additivity
+Fail Animating a custom property of type <integer>+ with iterationComposite
+Pass Animating a custom property of type <integer>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer.txt
new file mode 100644
index 00000000000..e3c6a75820a
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer.txt
@@ -0,0 +1,11 @@
+Harness status: OK
+
+Found 5 tests
+
+3 Pass
+2 Fail
+Pass Animating a custom property of type <integer>
+Pass Animating a custom property of type <integer> with a single keyframe
+Pass Animating a custom property of type <integer> with additivity
+Fail Animating a custom property of type <integer> with a single keyframe and additivity
+Fail Animating a custom property of type <integer> with iterationComposite
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.txt
new file mode 100644
index 00000000000..750acd6ce9b
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <length>#
+Pass Animating a custom property of type <length># with a single keyframe
+Pass Animating a custom property of type <length># with additivity
+Fail Animating a custom property of type <length># with a single keyframe and additivity
+Fail Animating a custom property of type <length># with iterationComposite
+Pass Animating a custom property of type <length># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.txt
new file mode 100644
index 00000000000..0625611515c
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <length-percentage>#
+Pass Animating a custom property of type <length-percentage># with a single keyframe
+Pass Animating a custom property of type <length-percentage># with additivity
+Fail Animating a custom property of type <length-percentage># with a single keyframe and additivity
+Fail Animating a custom property of type <length-percentage># with iterationComposite
+Pass Animating a custom property of type <length-percentage># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.txt
new file mode 100644
index 00000000000..c261df9783f
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <length-percentage>+
+Pass Animating a custom property of type <length-percentage>+ with a single keyframe
+Pass Animating a custom property of type <length-percentage>+ with additivity
+Fail Animating a custom property of type <length-percentage>+ with a single keyframe and additivity
+Fail Animating a custom property of type <length-percentage>+ with iterationComposite
+Pass Animating a custom property of type <length-percentage>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage.txt
new file mode 100644
index 00000000000..b106cc51e43
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage.txt
@@ -0,0 +1,11 @@
+Harness status: OK
+
+Found 5 tests
+
+3 Pass
+2 Fail
+Pass Animating a custom property of type <length-percentage>
+Pass Animating a custom property of type <length-percentage> with a single keyframe
+Pass Animating a custom property of type <length-percentage> with additivity
+Fail Animating a custom property of type <length-percentage> with a single keyframe and additivity
+Fail Animating a custom property of type <length-percentage> with iterationComposite
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-space-list.txt
new file mode 100644
index 00000000000..91c499907a4
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <length>+
+Pass Animating a custom property of type <length>+ with a single keyframe
+Pass Animating a custom property of type <length>+ with additivity
+Fail Animating a custom property of type <length>+ with a single keyframe and additivity
+Fail Animating a custom property of type <length>+ with iterationComposite
+Pass Animating a custom property of type <length>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.txt
new file mode 100644
index 00000000000..32c4c8657a6
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <number>#
+Pass Animating a custom property of type <number># with a single keyframe
+Pass Animating a custom property of type <number># with additivity
+Fail Animating a custom property of type <number># with a single keyframe and additivity
+Fail Animating a custom property of type <number># with iterationComposite
+Pass Animating a custom property of type <number># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-space-list.txt
new file mode 100644
index 00000000000..c12e07092ec
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <number>+
+Pass Animating a custom property of type <number>+ with a single keyframe
+Pass Animating a custom property of type <number>+ with additivity
+Fail Animating a custom property of type <number>+ with a single keyframe and additivity
+Fail Animating a custom property of type <number>+ with iterationComposite
+Pass Animating a custom property of type <number>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.txt
new file mode 100644
index 00000000000..6ff0a77e33e
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <percentage>#
+Pass Animating a custom property of type <percentage># with a single keyframe
+Pass Animating a custom property of type <percentage># with additivity
+Fail Animating a custom property of type <percentage># with a single keyframe and additivity
+Fail Animating a custom property of type <percentage># with iterationComposite
+Pass Animating a custom property of type <percentage># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.txt
new file mode 100644
index 00000000000..6077a5027cc
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <percentage>+
+Pass Animating a custom property of type <percentage>+ with a single keyframe
+Pass Animating a custom property of type <percentage>+ with additivity
+Fail Animating a custom property of type <percentage>+ with a single keyframe and additivity
+Fail Animating a custom property of type <percentage>+ with iterationComposite
+Pass Animating a custom property of type <percentage>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage.txt
new file mode 100644
index 00000000000..d45a3beaf5a
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage.txt
@@ -0,0 +1,11 @@
+Harness status: OK
+
+Found 5 tests
+
+3 Pass
+2 Fail
+Pass Animating a custom property of type <percentage>
+Pass Animating a custom property of type <percentage> with a single keyframe
+Pass Animating a custom property of type <percentage> with additivity
+Fail Animating a custom property of type <percentage> with a single keyframe and additivity
+Fail Animating a custom property of type <percentage> with iterationComposite
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.txt
new file mode 100644
index 00000000000..e99db0f5c46
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <resolution>#
+Pass Animating a custom property of type <resolution># with a single keyframe
+Pass Animating a custom property of type <resolution># with additivity
+Fail Animating a custom property of type <resolution># with a single keyframe and additivity
+Fail Animating a custom property of type <resolution># with iterationComposite
+Pass Animating a custom property of type <resolution># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.txt
new file mode 100644
index 00000000000..cadb64ce395
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <resolution>+
+Pass Animating a custom property of type <resolution>+ with a single keyframe
+Pass Animating a custom property of type <resolution>+ with additivity
+Fail Animating a custom property of type <resolution>+ with a single keyframe and additivity
+Fail Animating a custom property of type <resolution>+ with iterationComposite
+Pass Animating a custom property of type <resolution>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution.txt
new file mode 100644
index 00000000000..daf8681064c
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution.txt
@@ -0,0 +1,11 @@
+Harness status: OK
+
+Found 5 tests
+
+3 Pass
+2 Fail
+Pass Animating a custom property of type <resolution>
+Pass Animating a custom property of type <resolution> with a single keyframe
+Pass Animating a custom property of type <resolution> with additivity
+Fail Animating a custom property of type <resolution> with a single keyframe and additivity
+Fail Animating a custom property of type <resolution> with iterationComposite
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.txt
new file mode 100644
index 00000000000..831fe93f652
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <time>#
+Pass Animating a custom property of type <time># with a single keyframe
+Pass Animating a custom property of type <time># with additivity
+Fail Animating a custom property of type <time># with a single keyframe and additivity
+Fail Animating a custom property of type <time># with iterationComposite
+Pass Animating a custom property of type <time># with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-space-list.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-space-list.txt
new file mode 100644
index 00000000000..8b22a2e31cf
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-space-list.txt
@@ -0,0 +1,12 @@
+Harness status: OK
+
+Found 6 tests
+
+4 Pass
+2 Fail
+Pass Animating a custom property of type <time>+
+Pass Animating a custom property of type <time>+ with a single keyframe
+Pass Animating a custom property of type <time>+ with additivity
+Fail Animating a custom property of type <time>+ with a single keyframe and additivity
+Fail Animating a custom property of type <time>+ with iterationComposite
+Pass Animating a custom property of type <time>+ with different lengths is discrete
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time.txt
new file mode 100644
index 00000000000..49219a09a94
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time.txt
@@ -0,0 +1,11 @@
+Harness status: OK
+
+Found 5 tests
+
+3 Pass
+2 Fail
+Pass Animating a custom property of type <time>
+Pass Animating a custom property of type <time> with a single keyframe
+Pass Animating a custom property of type <time> with additivity
+Fail Animating a custom property of type <time> with a single keyframe and additivity
+Fail Animating a custom property of type <time> with iterationComposite
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html
new file mode 100644
index 00000000000..4308e8d6b1f
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<angle>#",
+ inherits: false,
+ initialValue: "0deg"
+}, {
+ keyframes: ["100deg, 150deg", "200deg, 250deg"],
+ expected: "150deg, 200deg"
+}, 'Animating a custom property of type <angle>#');
+
+animation_test({
+ syntax: "<angle>#",
+ inherits: false,
+ initialValue: "100deg, 150deg"
+}, {
+ keyframes: "200deg, 250deg",
+ expected: "150deg, 200deg"
+}, 'Animating a custom property of type <angle># with a single keyframe');
+
+animation_test({
+ syntax: "<angle>#",
+ inherits: false,
+ initialValue: "50deg, 100deg"
+}, {
+ composite: "add",
+ keyframes: ["150deg, 200deg", "250deg, 300deg"],
+ expected: "250deg, 350deg"
+}, 'Animating a custom property of type <angle># with additivity');
+
+animation_test({
+ syntax: "<angle>#",
+ inherits: false,
+ initialValue: "50deg, 100deg"
+}, {
+ composite: "add",
+ keyframes: "150deg, 200deg",
+ expected: "125deg, 200deg"
+}, 'Animating a custom property of type <angle># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<angle>#",
+ inherits: false,
+ initialValue: "0deg, 0deg"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0deg, 50deg", "100deg, 100deg"],
+ expected: "250deg, 275deg"
+}, 'Animating a custom property of type <angle># with iterationComposite');
+
+discrete_animation_test("<angle>#", '10deg, 20deg', '30deg', 'Animating a custom property of type <angle># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html
new file mode 100644
index 00000000000..348956556f9
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<angle>+",
+ inherits: false,
+ initialValue: "0deg"
+}, {
+ keyframes: ["100deg 150deg", "200deg 250deg"],
+ expected: "150deg 200deg"
+}, 'Animating a custom property of type <angle>+');
+
+animation_test({
+ syntax: "<angle>+",
+ inherits: false,
+ initialValue: "100deg 150deg"
+}, {
+ keyframes: "200deg 250deg",
+ expected: "150deg 200deg"
+}, 'Animating a custom property of type <angle>+ with a single keyframe');
+
+animation_test({
+ syntax: "<angle>+",
+ inherits: false,
+ initialValue: "50deg 100deg"
+}, {
+ composite: "add",
+ keyframes: ["150deg 200deg", "250deg 300deg"],
+ expected: "250deg 350deg"
+}, 'Animating a custom property of type <angle>+ with additivity');
+
+animation_test({
+ syntax: "<angle>+",
+ inherits: false,
+ initialValue: "50deg 100deg"
+}, {
+ composite: "add",
+ keyframes: "150deg 200deg",
+ expected: "125deg 200deg"
+}, 'Animating a custom property of type <angle>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<angle>+",
+ inherits: false,
+ initialValue: "0deg 0deg"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0deg 50deg", "100deg 100deg"],
+ expected: "250deg 275deg"
+}, 'Animating a custom property of type <angle>+ with iterationComposite');
+
+discrete_animation_test("<angle>+", '10deg 20deg', '30deg', 'Animating a custom property of type <angle>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html
new file mode 100644
index 00000000000..a97d40c1c19
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<color>#",
+ inherits: false,
+ initialValue: "black"
+}, {
+ keyframes: ["rgb(100, 100, 100), rgb(150, 150, 150)", "rgb(200, 200, 200), rgb(250, 250, 250)"],
+ expected: "rgb(150, 150, 150), rgb(200, 200, 200)"
+}, 'Animating a custom property of type <color>#');
+
+animation_test({
+ syntax: "<color>#",
+ inherits: false,
+ initialValue: "rgb(100, 100, 100), rgb(150, 150, 150)"
+}, {
+ keyframes: "rgb(200, 200, 200), rgb(250, 250, 250)",
+ expected: "rgb(150, 150, 150), rgb(200, 200, 200)"
+}, 'Animating a custom property of type <color># with a single keyframe');
+
+animation_test({
+ syntax: "<color>#",
+ inherits: false,
+ initialValue: "rgb(100, 100, 100), rgb(150, 150, 150)"
+}, {
+ composite: "add",
+ keyframes: ["rgb(25, 25, 25), rgb(50, 50, 50)", "rgb(75, 75, 75), rgb(100, 100, 100)"],
+ expected: "rgb(150, 150, 150), rgb(225, 225, 225)"
+}, 'Animating a custom property of type <color># with additivity');
+
+animation_test({
+ syntax: "<color>#",
+ inherits: false,
+ initialValue: "rgb(100, 100, 100), rgb(150, 150, 150)"
+}, {
+ composite: "add",
+ keyframes: "rgb(50, 50, 50), rgb(100, 100, 100)",
+ expected: "rgb(125, 125, 125), rgb(200, 200, 200)"
+}, 'Animating a custom property of type <color># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<color>#",
+ inherits: false,
+ initialValue: "black"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["rgb(0, 0, 0), rgb(0, 0, 0)", "rgb(50, 50, 50), rgb(100, 100, 100)"],
+ expected: "rgb(125, 125, 125), rgb(250, 250, 250)"
+}, 'Animating a custom property of type <color># with iterationComposite');
+
+discrete_animation_test("<color>#", 'rgb(255, 0, 0), rgb(0, 255, 0)', 'rgb(0, 0, 255)', 'Animating a custom property of type <color># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html
new file mode 100644
index 00000000000..a8834d9b3dd
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<color>+",
+ inherits: false,
+ initialValue: "black"
+}, {
+ keyframes: ["rgb(100, 100, 100) rgb(150, 150, 150)", "rgb(200, 200, 200) rgb(250, 250, 250)"],
+ expected: "rgb(150, 150, 150) rgb(200, 200, 200)"
+}, 'Animating a custom property of type <color>+');
+
+animation_test({
+ syntax: "<color>+",
+ inherits: false,
+ initialValue: "rgb(100, 100, 100) rgb(150, 150, 150)"
+}, {
+ keyframes: "rgb(200, 200, 200) rgb(250, 250, 250)",
+ expected: "rgb(150, 150, 150) rgb(200, 200, 200)"
+}, 'Animating a custom property of type <color>+ with a single keyframe');
+
+animation_test({
+ syntax: "<color>+",
+ inherits: false,
+ initialValue: "rgb(100, 100, 100) rgb(150, 150, 150)"
+}, {
+ composite: "add",
+ keyframes: ["rgb(25, 25, 25) rgb(50, 50, 50)", "rgb(75, 75, 75) rgb(100, 100, 100)"],
+ expected: "rgb(150, 150, 150) rgb(225, 225, 225)"
+}, 'Animating a custom property of type <color>+ with additivity');
+
+animation_test({
+ syntax: "<color>+",
+ inherits: false,
+ initialValue: "rgb(100, 100, 100) rgb(150, 150, 150)"
+}, {
+ composite: "add",
+ keyframes: "rgb(50, 50, 50) rgb(100, 100, 100)",
+ expected: "rgb(125, 125, 125) rgb(200, 200, 200)"
+}, 'Animating a custom property of type <color>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<color>+",
+ inherits: false,
+ initialValue: "black"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["rgb(0, 0, 0) rgb(0, 0, 0)", "rgb(50, 50, 50) rgb(100, 100, 100)"],
+ expected: "rgb(125, 125, 125) rgb(250, 250, 250)"
+}, 'Animating a custom property of type <color>+ with iterationComposite');
+
+discrete_animation_test("<color>+", 'rgb(255, 0, 0) rgb(0, 255, 0)', 'rgb(0, 0, 255)', 'Animating a custom property of type <color>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html
new file mode 100644
index 00000000000..dec639af297
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<integer>#",
+ inherits: false,
+ initialValue: "0"
+}, {
+ keyframes: ["100, 150", "200, 250"],
+ expected: "150, 200"
+}, 'Animating a custom property of type <integer>#');
+
+animation_test({
+ syntax: "<integer>#",
+ inherits: false,
+ initialValue: "100, 150"
+}, {
+ keyframes: "200, 250",
+ expected: "150, 200"
+}, 'Animating a custom property of type <integer># with a single keyframe');
+
+animation_test({
+ syntax: "<integer>#",
+ inherits: false,
+ initialValue: "50, 100"
+}, {
+ composite: "add",
+ keyframes: ["150, 200", "250, 300"],
+ expected: "250, 350"
+}, 'Animating a custom property of type <integer># with additivity');
+
+animation_test({
+ syntax: "<integer>#",
+ inherits: false,
+ initialValue: "50, 100"
+}, {
+ composite: "add",
+ keyframes: "150, 200",
+ expected: "125, 200"
+}, 'Animating a custom property of type <integer># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<integer>#",
+ inherits: false,
+ initialValue: "0, 0"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0, 50", "100, 100"],
+ expected: "250, 275"
+}, 'Animating a custom property of type <integer># with iterationComposite');
+
+discrete_animation_test("<integer>#", '10, 20', '30', 'Animating a custom property of type <integer># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html
new file mode 100644
index 00000000000..86655dd063c
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<integer>+",
+ inherits: false,
+ initialValue: "0"
+}, {
+ keyframes: ["100 150", "200 250"],
+ expected: "150 200"
+}, 'Animating a custom property of type <integer>+');
+
+animation_test({
+ syntax: "<integer>+",
+ inherits: false,
+ initialValue: "100 150"
+}, {
+ keyframes: "200 250",
+ expected: "150 200"
+}, 'Animating a custom property of type <integer>+ with a single keyframe');
+
+animation_test({
+ syntax: "<integer>+",
+ inherits: false,
+ initialValue: "50 100"
+}, {
+ composite: "add",
+ keyframes: ["150 200", "250 300"],
+ expected: "250 350"
+}, 'Animating a custom property of type <integer>+ with additivity');
+
+animation_test({
+ syntax: "<integer>+",
+ inherits: false,
+ initialValue: "50 100"
+}, {
+ composite: "add",
+ keyframes: "150 200",
+ expected: "125 200"
+}, 'Animating a custom property of type <integer>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<integer>+",
+ inherits: false,
+ initialValue: "0 0"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0 50", "100 100"],
+ expected: "250 275"
+}, 'Animating a custom property of type <integer>+ with iterationComposite');
+
+discrete_animation_test("<integer>+", '10 20', '30', 'Animating a custom property of type <integer>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer.html
new file mode 100644
index 00000000000..84e34796230
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-integer.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<integer>",
+ inherits: false,
+ initialValue: 0
+}, {
+ keyframes: [100, 200],
+ expected: "150"
+}, 'Animating a custom property of type <integer>');
+
+animation_test({
+ syntax: "<integer>",
+ inherits: false,
+ initialValue: 100
+}, {
+ keyframes: 200,
+ expected: "150"
+}, 'Animating a custom property of type <integer> with a single keyframe');
+
+animation_test({
+ syntax: "<integer>",
+ inherits: false,
+ initialValue: 100
+}, {
+ composite: "add",
+ keyframes: [200, 300],
+ expected: "350"
+}, 'Animating a custom property of type <integer> with additivity');
+
+animation_test({
+ syntax: "<integer>",
+ inherits: false,
+ initialValue: 100
+}, {
+ composite: "add",
+ keyframes: 300,
+ expected: "250"
+}, 'Animating a custom property of type <integer> with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<integer>",
+ inherits: false,
+ initialValue: 100
+}, {
+ iterationComposite: "accumulate",
+ keyframes: [0, 100],
+ expected: "250"
+}, 'Animating a custom property of type <integer> with iterationComposite');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html
new file mode 100644
index 00000000000..0d7321b1598
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<length>#",
+ inherits: false,
+ initialValue: "0px"
+}, {
+ keyframes: ["100px, 150px", "200px, 250px"],
+ expected: "150px, 200px"
+}, 'Animating a custom property of type <length>#');
+
+animation_test({
+ syntax: "<length>#",
+ inherits: false,
+ initialValue: "100px, 150px"
+}, {
+ keyframes: "200px, 250px",
+ expected: "150px, 200px"
+}, 'Animating a custom property of type <length># with a single keyframe');
+
+animation_test({
+ syntax: "<length>#",
+ inherits: false,
+ initialValue: "50px, 100px"
+}, {
+ composite: "add",
+ keyframes: ["150px, 200px", "250px, 300px"],
+ expected: "250px, 350px"
+}, 'Animating a custom property of type <length># with additivity');
+
+animation_test({
+ syntax: "<length>#",
+ inherits: false,
+ initialValue: "50px, 100px"
+}, {
+ composite: "add",
+ keyframes: "150px, 200px",
+ expected: "125px, 200px"
+}, 'Animating a custom property of type <length># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<length>#",
+ inherits: false,
+ initialValue: "0px, 0px"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0px, 50px", "100px, 100px"],
+ expected: "250px, 275px"
+}, 'Animating a custom property of type <length># with iterationComposite');
+
+discrete_animation_test("<length>#", '10px, 20px', '30px', 'Animating a custom property of type <length># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html
new file mode 100644
index 00000000000..2844bc5f30e
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<length-percentage>#",
+ inherits: false,
+ initialValue: "0px"
+}, {
+ keyframes: ["100px, 150%", "200%, 250px"],
+ expected: "calc(100% + 50px), calc(75% + 125px)"
+}, 'Animating a custom property of type <length-percentage>#');
+
+animation_test({
+ syntax: "<length-percentage>#",
+ inherits: false,
+ initialValue: "100px, 150%"
+}, {
+ keyframes: "200%, 250px",
+ expected: "calc(100% + 50px), calc(75% + 125px)"
+}, 'Animating a custom property of type <length-percentage># with a single keyframe');
+
+animation_test({
+ syntax: "<length-percentage>#",
+ inherits: false,
+ initialValue: "50px, 100%"
+}, {
+ composite: "add",
+ keyframes: ["150%, 200px", "250%, 300px"],
+ expected: "calc(200% + 50px), calc(100% + 250px)"
+}, 'Animating a custom property of type <length-percentage># with additivity');
+
+animation_test({
+ syntax: "<length-percentage>#",
+ inherits: false,
+ initialValue: "50px, 100%"
+}, {
+ composite: "add",
+ keyframes: "150%, 200px",
+ expected: "calc(75% + 50px), calc(100% + 100px)"
+}, 'Animating a custom property of type <length-percentage># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<length-percentage>#",
+ inherits: false,
+ initialValue: "0px, 0px"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0px, 50%", "100%, 100px"],
+ expected: "250%, calc(25% + 50px)"
+}, 'Animating a custom property of type <length-percentage># with iterationComposite');
+
+discrete_animation_test("<length-percentage>#", '10px, 20%', '30px', 'Animating a custom property of type <length-percentage># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html
new file mode 100644
index 00000000000..aa1b6c2b6d5
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<length-percentage>+",
+ inherits: false,
+ initialValue: "0px"
+}, {
+ keyframes: ["100px 150%", "200% 250px"],
+ expected: "calc(100% + 50px) calc(75% + 125px)"
+}, 'Animating a custom property of type <length-percentage>+');
+
+animation_test({
+ syntax: "<length-percentage>+",
+ inherits: false,
+ initialValue: "100px 150%"
+}, {
+ keyframes: "200% 250px",
+ expected: "calc(100% + 50px) calc(75% + 125px)"
+}, 'Animating a custom property of type <length-percentage>+ with a single keyframe');
+
+animation_test({
+ syntax: "<length-percentage>+",
+ inherits: false,
+ initialValue: "50px 100%"
+}, {
+ composite: "add",
+ keyframes: ["150% 200px", "250% 300px"],
+ expected: "calc(200% + 50px) calc(100% + 250px)"
+}, 'Animating a custom property of type <length-percentage>+ with additivity');
+
+animation_test({
+ syntax: "<length-percentage>+",
+ inherits: false,
+ initialValue: "50px 100%"
+}, {
+ composite: "add",
+ keyframes: "150% 200px",
+ expected: "calc(75% + 50px) calc(100% + 100px)"
+}, 'Animating a custom property of type <length-percentage>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<length-percentage>+",
+ inherits: false,
+ initialValue: "0px 0px"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0px 50%", "100% 100px"],
+ expected: "250% calc(25% + 50px)"
+}, 'Animating a custom property of type <length-percentage>+ with iterationComposite');
+
+discrete_animation_test("<length-percentage>+", '10px 20%', '30px', 'Animating a custom property of type <length-percentage>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html
new file mode 100644
index 00000000000..3c602adf332
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<length-percentage>",
+ inherits: false,
+ initialValue: "0px"
+}, {
+ keyframes: ["100px", "100%"],
+ expected: "calc(50% + 50px)"
+}, 'Animating a custom property of type <length-percentage>');
+
+animation_test({
+ syntax: "<length-percentage>",
+ inherits: false,
+ initialValue: "100px"
+}, {
+ keyframes: "100%",
+ expected: "calc(50% + 50px)"
+}, 'Animating a custom property of type <length-percentage> with a single keyframe');
+
+animation_test({
+ syntax: "<length-percentage>",
+ inherits: false,
+ initialValue: "100px"
+}, {
+ composite: "add",
+ keyframes: ["200%", "300%"],
+ expected: "calc(250% + 100px)"
+}, 'Animating a custom property of type <length-percentage> with additivity');
+
+animation_test({
+ syntax: "<length-percentage>",
+ inherits: false,
+ initialValue: "100px"
+}, {
+ composite: "add",
+ keyframes: "300%",
+ expected: "calc(150% + 100px)"
+}, 'Animating a custom property of type <length-percentage> with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<length-percentage>",
+ inherits: false,
+ initialValue: "100px"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["50px", "100%"],
+ expected: "calc(250% + 25px)"
+}, 'Animating a custom property of type <length-percentage> with iterationComposite');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html
new file mode 100644
index 00000000000..35365ae04d0
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<length>+",
+ inherits: false,
+ initialValue: "0px"
+}, {
+ keyframes: ["100px 150px", "200px 250px"],
+ expected: "150px 200px"
+}, 'Animating a custom property of type <length>+');
+
+animation_test({
+ syntax: "<length>+",
+ inherits: false,
+ initialValue: "100px 150px"
+}, {
+ keyframes: "200px 250px",
+ expected: "150px 200px"
+}, 'Animating a custom property of type <length>+ with a single keyframe');
+
+animation_test({
+ syntax: "<length>+",
+ inherits: false,
+ initialValue: "50px 100px"
+}, {
+ composite: "add",
+ keyframes: ["150px 200px", "250px 300px"],
+ expected: "250px 350px"
+}, 'Animating a custom property of type <length>+ with additivity');
+
+animation_test({
+ syntax: "<length>+",
+ inherits: false,
+ initialValue: "50px 100px"
+}, {
+ composite: "add",
+ keyframes: "150px 200px",
+ expected: "125px 200px"
+}, 'Animating a custom property of type <length>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<length>+",
+ inherits: false,
+ initialValue: "0px 0px"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0px 50px", "100px 100px"],
+ expected: "250px 275px"
+}, 'Animating a custom property of type <length>+ with iterationComposite');
+
+discrete_animation_test("<length>+", '10px 20px', '30px', 'Animating a custom property of type <length>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html
new file mode 100644
index 00000000000..0c21c7e8af1
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<number>#",
+ inherits: false,
+ initialValue: "0"
+}, {
+ keyframes: ["100, 150", "200, 250"],
+ expected: "150, 200"
+}, 'Animating a custom property of type <number>#');
+
+animation_test({
+ syntax: "<number>#",
+ inherits: false,
+ initialValue: "100, 150"
+}, {
+ keyframes: "200, 250",
+ expected: "150, 200"
+}, 'Animating a custom property of type <number># with a single keyframe');
+
+animation_test({
+ syntax: "<number>#",
+ inherits: false,
+ initialValue: "50, 100"
+}, {
+ composite: "add",
+ keyframes: ["150, 200", "250, 300"],
+ expected: "250, 350"
+}, 'Animating a custom property of type <number># with additivity');
+
+animation_test({
+ syntax: "<number>#",
+ inherits: false,
+ initialValue: "50, 100"
+}, {
+ composite: "add",
+ keyframes: "150, 200",
+ expected: "125, 200"
+}, 'Animating a custom property of type <number># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<number>#",
+ inherits: false,
+ initialValue: "0, 0"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0, 50", "100, 100"],
+ expected: "250, 275"
+}, 'Animating a custom property of type <number># with iterationComposite');
+
+discrete_animation_test("<number>#", '10, 20', '30', 'Animating a custom property of type <number># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html
new file mode 100644
index 00000000000..c98f24ba0b6
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<number>+",
+ inherits: false,
+ initialValue: "0"
+}, {
+ keyframes: ["100 150", "200 250"],
+ expected: "150 200"
+}, 'Animating a custom property of type <number>+');
+
+animation_test({
+ syntax: "<number>+",
+ inherits: false,
+ initialValue: "100 150"
+}, {
+ keyframes: "200 250",
+ expected: "150 200"
+}, 'Animating a custom property of type <number>+ with a single keyframe');
+
+animation_test({
+ syntax: "<number>+",
+ inherits: false,
+ initialValue: "50 100"
+}, {
+ composite: "add",
+ keyframes: ["150 200", "250 300"],
+ expected: "250 350"
+}, 'Animating a custom property of type <number>+ with additivity');
+
+animation_test({
+ syntax: "<number>+",
+ inherits: false,
+ initialValue: "50 100"
+}, {
+ composite: "add",
+ keyframes: "150 200",
+ expected: "125 200"
+}, 'Animating a custom property of type <number>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<number>+",
+ inherits: false,
+ initialValue: "0 0"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0 50", "100 100"],
+ expected: "250 275"
+}, 'Animating a custom property of type <number>+ with iterationComposite');
+
+discrete_animation_test("<number>+", '10 20', '30', 'Animating a custom property of type <number>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html
new file mode 100644
index 00000000000..9a0a839d3bd
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<percentage>#",
+ inherits: false,
+ initialValue: "0%"
+}, {
+ keyframes: ["100%, 150%", "200%, 250%"],
+ expected: "150%, 200%"
+}, 'Animating a custom property of type <percentage>#');
+
+animation_test({
+ syntax: "<percentage>#",
+ inherits: false,
+ initialValue: "100%, 150%"
+}, {
+ keyframes: "200%, 250%",
+ expected: "150%, 200%"
+}, 'Animating a custom property of type <percentage># with a single keyframe');
+
+animation_test({
+ syntax: "<percentage>#",
+ inherits: false,
+ initialValue: "50%, 100%"
+}, {
+ composite: "add",
+ keyframes: ["150%, 200%", "250%, 300%"],
+ expected: "250%, 350%"
+}, 'Animating a custom property of type <percentage># with additivity');
+
+animation_test({
+ syntax: "<percentage>#",
+ inherits: false,
+ initialValue: "50%, 100%"
+}, {
+ composite: "add",
+ keyframes: "150%, 200%",
+ expected: "125%, 200%"
+}, 'Animating a custom property of type <percentage># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<percentage>#",
+ inherits: false,
+ initialValue: "0%, 0%"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0%, 50%", "100%, 100%"],
+ expected: "250%, 275%"
+}, 'Animating a custom property of type <percentage># with iterationComposite');
+
+discrete_animation_test("<percentage>#", '10%, 20%', '30%', 'Animating a custom property of type <percentage># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html
new file mode 100644
index 00000000000..eb731e5eadf
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<percentage>+",
+ inherits: false,
+ initialValue: "0%"
+}, {
+ keyframes: ["100% 150%", "200% 250%"],
+ expected: "150% 200%"
+}, 'Animating a custom property of type <percentage>+');
+
+animation_test({
+ syntax: "<percentage>+",
+ inherits: false,
+ initialValue: "100% 150%"
+}, {
+ keyframes: "200% 250%",
+ expected: "150% 200%"
+}, 'Animating a custom property of type <percentage>+ with a single keyframe');
+
+animation_test({
+ syntax: "<percentage>+",
+ inherits: false,
+ initialValue: "50% 100%"
+}, {
+ composite: "add",
+ keyframes: ["150% 200%", "250% 300%"],
+ expected: "250% 350%"
+}, 'Animating a custom property of type <percentage>+ with additivity');
+
+animation_test({
+ syntax: "<percentage>+",
+ inherits: false,
+ initialValue: "50% 100%"
+}, {
+ composite: "add",
+ keyframes: "150% 200%",
+ expected: "125% 200%"
+}, 'Animating a custom property of type <percentage>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<percentage>+",
+ inherits: false,
+ initialValue: "0% 0%"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0% 50%", "100% 100%"],
+ expected: "250% 275%"
+}, 'Animating a custom property of type <percentage>+ with iterationComposite');
+
+discrete_animation_test("<percentage>+", '10% 20%', '30%', 'Animating a custom property of type <percentage>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage.html
new file mode 100644
index 00000000000..20d0ea36e8b
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-percentage.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<percentage>",
+ inherits: false,
+ initialValue: "0%"
+}, {
+ keyframes: ["100%", "200%"],
+ expected: "150%"
+}, 'Animating a custom property of type <percentage>');
+
+animation_test({
+ syntax: "<percentage>",
+ inherits: false,
+ initialValue: "100%"
+}, {
+ keyframes: "200%",
+ expected: "150%"
+}, 'Animating a custom property of type <percentage> with a single keyframe');
+
+animation_test({
+ syntax: "<percentage>",
+ inherits: false,
+ initialValue: "100%"
+}, {
+ composite: "add",
+ keyframes: ["200%", "300%"],
+ expected: "350%"
+}, 'Animating a custom property of type <percentage> with additivity');
+
+animation_test({
+ syntax: "<percentage>",
+ inherits: false,
+ initialValue: "100%"
+}, {
+ composite: "add",
+ keyframes: "300%",
+ expected: "250%"
+}, 'Animating a custom property of type <percentage> with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<percentage>",
+ inherits: false,
+ initialValue: "100%"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0%", "100%"],
+ expected: "250%"
+}, 'Animating a custom property of type <percentage> with iterationComposite');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html
new file mode 100644
index 00000000000..60d0ba8a629
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<resolution>#",
+ inherits: false,
+ initialValue: "0dppx"
+}, {
+ keyframes: ["100dppx, 150dppx", "200dppx, 250dppx"],
+ expected: "150dppx, 200dppx"
+}, 'Animating a custom property of type <resolution>#');
+
+animation_test({
+ syntax: "<resolution>#",
+ inherits: false,
+ initialValue: "100dppx, 150dppx"
+}, {
+ keyframes: "200dppx, 250dppx",
+ expected: "150dppx, 200dppx"
+}, 'Animating a custom property of type <resolution># with a single keyframe');
+
+animation_test({
+ syntax: "<resolution>#",
+ inherits: false,
+ initialValue: "50dppx, 100dppx"
+}, {
+ composite: "add",
+ keyframes: ["150dppx, 200dppx", "250dppx, 300dppx"],
+ expected: "250dppx, 350dppx"
+}, 'Animating a custom property of type <resolution># with additivity');
+
+animation_test({
+ syntax: "<resolution>#",
+ inherits: false,
+ initialValue: "50dppx, 100dppx"
+}, {
+ composite: "add",
+ keyframes: "150dppx, 200dppx",
+ expected: "125dppx, 200dppx"
+}, 'Animating a custom property of type <resolution># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<resolution>#",
+ inherits: false,
+ initialValue: "0dppx, 0dppx"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0dppx, 50dppx", "100dppx, 100dppx"],
+ expected: "250dppx, 275dppx"
+}, 'Animating a custom property of type <resolution># with iterationComposite');
+
+discrete_animation_test("<resolution>#", '10dppx, 20dppx', '30dppx', 'Animating a custom property of type <resolution># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html
new file mode 100644
index 00000000000..927347c17dc
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<resolution>+",
+ inherits: false,
+ initialValue: "0dppx"
+}, {
+ keyframes: ["100dppx 150dppx", "200dppx 250dppx"],
+ expected: "150dppx 200dppx"
+}, 'Animating a custom property of type <resolution>+');
+
+animation_test({
+ syntax: "<resolution>+",
+ inherits: false,
+ initialValue: "100dppx 150dppx"
+}, {
+ keyframes: "200dppx 250dppx",
+ expected: "150dppx 200dppx"
+}, 'Animating a custom property of type <resolution>+ with a single keyframe');
+
+animation_test({
+ syntax: "<resolution>+",
+ inherits: false,
+ initialValue: "50dppx 100dppx"
+}, {
+ composite: "add",
+ keyframes: ["150dppx 200dppx", "250dppx 300dppx"],
+ expected: "250dppx 350dppx"
+}, 'Animating a custom property of type <resolution>+ with additivity');
+
+animation_test({
+ syntax: "<resolution>+",
+ inherits: false,
+ initialValue: "50dppx 100dppx"
+}, {
+ composite: "add",
+ keyframes: "150dppx 200dppx",
+ expected: "125dppx 200dppx"
+}, 'Animating a custom property of type <resolution>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<resolution>+",
+ inherits: false,
+ initialValue: "0dppx 0dppx"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0dppx 50dppx", "100dppx 100dppx"],
+ expected: "250dppx 275dppx"
+}, 'Animating a custom property of type <resolution>+ with iterationComposite');
+
+discrete_animation_test("<resolution>+", '10dppx 20dppx', '30dppx', 'Animating a custom property of type <resolution>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution.html
new file mode 100644
index 00000000000..845a63cccfd
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-resolution.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<resolution>",
+ inherits: false,
+ initialValue: "0dppx"
+}, {
+ keyframes: ["100dppx", "200dppx"],
+ expected: "150dppx"
+}, 'Animating a custom property of type <resolution>');
+
+animation_test({
+ syntax: "<resolution>",
+ inherits: false,
+ initialValue: "100dppx"
+}, {
+ keyframes: "200dppx",
+ expected: "150dppx"
+}, 'Animating a custom property of type <resolution> with a single keyframe');
+
+animation_test({
+ syntax: "<resolution>",
+ inherits: false,
+ initialValue: "100dppx"
+}, {
+ composite: "add",
+ keyframes: ["200dppx", "300dppx"],
+ expected: "350dppx"
+}, 'Animating a custom property of type <resolution> with additivity');
+
+animation_test({
+ syntax: "<resolution>",
+ inherits: false,
+ initialValue: "100dppx"
+}, {
+ composite: "add",
+ keyframes: "300dppx",
+ expected: "250dppx"
+}, 'Animating a custom property of type <resolution> with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<resolution>",
+ inherits: false,
+ initialValue: "100dppx"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0dppx", "100dppx"],
+ expected: "250dppx"
+}, 'Animating a custom property of type <resolution> with iterationComposite');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html
new file mode 100644
index 00000000000..e5a864246e4
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<time>#",
+ inherits: false,
+ initialValue: "0s"
+}, {
+ keyframes: ["100s, 150s", "200s, 250s"],
+ expected: "150s, 200s"
+}, 'Animating a custom property of type <time>#');
+
+animation_test({
+ syntax: "<time>#",
+ inherits: false,
+ initialValue: "100s, 150s"
+}, {
+ keyframes: "200s, 250s",
+ expected: "150s, 200s"
+}, 'Animating a custom property of type <time># with a single keyframe');
+
+animation_test({
+ syntax: "<time>#",
+ inherits: false,
+ initialValue: "50s, 100s"
+}, {
+ composite: "add",
+ keyframes: ["150s, 200s", "250s, 300s"],
+ expected: "250s, 350s"
+}, 'Animating a custom property of type <time># with additivity');
+
+animation_test({
+ syntax: "<time>#",
+ inherits: false,
+ initialValue: "50s, 100s"
+}, {
+ composite: "add",
+ keyframes: "150s, 200s",
+ expected: "125s, 200s"
+}, 'Animating a custom property of type <time># with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<time>#",
+ inherits: false,
+ initialValue: "0s, 0s"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0s, 50s", "100s, 100s"],
+ expected: "250s, 275s"
+}, 'Animating a custom property of type <time># with iterationComposite');
+
+discrete_animation_test("<time>#", '10s, 20s', '30s', 'Animating a custom property of type <time># with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html
new file mode 100644
index 00000000000..df6084e9e95
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<time>+",
+ inherits: false,
+ initialValue: "0s"
+}, {
+ keyframes: ["100s 150s", "200s 250s"],
+ expected: "150s 200s"
+}, 'Animating a custom property of type <time>+');
+
+animation_test({
+ syntax: "<time>+",
+ inherits: false,
+ initialValue: "100s 150s"
+}, {
+ keyframes: "200s 250s",
+ expected: "150s 200s"
+}, 'Animating a custom property of type <time>+ with a single keyframe');
+
+animation_test({
+ syntax: "<time>+",
+ inherits: false,
+ initialValue: "50s 100s"
+}, {
+ composite: "add",
+ keyframes: ["150s 200s", "250s 300s"],
+ expected: "250s 350s"
+}, 'Animating a custom property of type <time>+ with additivity');
+
+animation_test({
+ syntax: "<time>+",
+ inherits: false,
+ initialValue: "50s 100s"
+}, {
+ composite: "add",
+ keyframes: "150s 200s",
+ expected: "125s 200s"
+}, 'Animating a custom property of type <time>+ with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<time>+",
+ inherits: false,
+ initialValue: "0s 0s"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0s 50s", "100s 100s"],
+ expected: "250s 275s"
+}, 'Animating a custom property of type <time>+ with iterationComposite');
+
+discrete_animation_test("<time>+", '10s 20s', '30s', 'Animating a custom property of type <time>+ with different lengths is discrete');
+
+</script>
diff --git a/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time.html b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time.html
new file mode 100644
index 00000000000..c003b5bef08
--- /dev/null
+++ b/Tests/LibWeb/Text/input/wpt-import/css/css-properties-values-api/animation/custom-property-animation-time.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html>
+<link rel="help" href="https://drafts.css-houdini.org/css-properties-values-api-1">
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<script src="../resources/utils.js"></script>
+<div id="target"></div>
+<script>
+
+animation_test({
+ syntax: "<time>",
+ inherits: false,
+ initialValue: "0s"
+}, {
+ keyframes: ["100s", "200s"],
+ expected: "150s"
+}, 'Animating a custom property of type <time>');
+
+animation_test({
+ syntax: "<time>",
+ inherits: false,
+ initialValue: "100s"
+}, {
+ keyframes: "200s",
+ expected: "150s"
+}, 'Animating a custom property of type <time> with a single keyframe');
+
+animation_test({
+ syntax: "<time>",
+ inherits: false,
+ initialValue: "100s"
+}, {
+ composite: "add",
+ keyframes: ["200s", "300s"],
+ expected: "350s"
+}, 'Animating a custom property of type <time> with additivity');
+
+animation_test({
+ syntax: "<time>",
+ inherits: false,
+ initialValue: "100s"
+}, {
+ composite: "add",
+ keyframes: "300s",
+ expected: "250s"
+}, 'Animating a custom property of type <time> with a single keyframe and additivity');
+
+animation_test({
+ syntax: "<time>",
+ inherits: false,
+ initialValue: "100s"
+}, {
+ iterationComposite: "accumulate",
+ keyframes: ["0s", "100s"],
+ expected: "250s"
+}, 'Animating a custom property of type <time> with iterationComposite');
+
+</script>