From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-properties-values-api/META.yml | 4 + .../css-properties-values-api/animate-invalid.html | 20 + ...custom-property-animation-angle-comma-list.html | 59 ++ ...custom-property-animation-angle-space-list.html | 59 ++ .../animation/custom-property-animation-angle.html | 57 ++ ...custom-property-animation-color-comma-list.html | 59 ++ ...custom-property-animation-color-space-list.html | 59 ++ .../animation/custom-property-animation-color.html | 57 ++ .../custom-property-animation-custom-ident.html | 13 + .../animation/custom-property-animation-image.html | 13 + ...mation-inherited-used-by-standard-property.html | 29 + ...stom-property-animation-integer-comma-list.html | 59 ++ ...stom-property-animation-integer-space-list.html | 59 ++ .../custom-property-animation-integer.html | 57 ++ ...ustom-property-animation-length-comma-list.html | 59 ++ ...rty-animation-length-percentage-comma-list.html | 59 ++ ...rty-animation-length-percentage-space-list.html | 59 ++ ...ustom-property-animation-length-percentage.html | 57 ++ ...ustom-property-animation-length-space-list.html | 59 ++ .../custom-property-animation-length.html | 57 ++ ...on-non-inherited-used-by-standard-property.html | 27 + ...ustom-property-animation-number-comma-list.html | 59 ++ ...ustom-property-animation-number-space-list.html | 59 ++ .../custom-property-animation-number.html | 57 ++ ...m-property-animation-percentage-comma-list.html | 59 ++ ...m-property-animation-percentage-space-list.html | 59 ++ .../custom-property-animation-percentage.html | 57 ++ ...m-property-animation-resolution-comma-list.html | 59 ++ ...m-property-animation-resolution-space-list.html | 59 ++ .../custom-property-animation-resolution.html | 57 ++ .../custom-property-animation-time-comma-list.html | 59 ++ .../custom-property-animation-time-space-list.html | 59 ++ .../animation/custom-property-animation-time.html | 57 ++ ...stom-property-animation-transform-function.html | 57 ++ ...y-animation-transform-list-multiple-values.html | 66 ++ ...rty-animation-transform-list-single-values.html | 57 ++ .../animation/custom-property-animation-url.html | 13 + .../custom-property-transition-angle.html | 16 + .../custom-property-transition-color.html | 16 + .../custom-property-transition-custom-ident.html | 15 + .../custom-property-transition-image.html | 15 + ...sition-inherited-used-by-standard-property.html | 31 + .../custom-property-transition-integer.html | 16 + ...stom-property-transition-length-percentage.html | 16 + .../custom-property-transition-length.html | 16 + ...custom-property-transition-mismatched-list.html | 153 ++++ ...on-non-inherited-used-by-standard-property.html | 28 + .../custom-property-transition-number.html | 16 + .../custom-property-transition-percentage.html | 16 + .../custom-property-transition-resolution.html | 16 + .../animation/custom-property-transition-time.html | 16 + ...tom-property-transition-transform-function.html | 16 + .../custom-property-transition-transform-list.html | 16 + .../animation/custom-property-transition-url.html | 15 + .../at-property-animation.html | 298 +++++++ .../at-property-cssom.html | 197 ++++ .../at-property-non-matching-media-crash.html | 19 + .../at-property-shadow.html | 46 + .../at-property-stylesheets.html | 106 +++ .../at-property-typedom.html | 64 ++ .../at-property-viewport-units-dynamic.html | 41 + .../at-property-viewport-units.html | 91 ++ .../css/css-properties-values-api/at-property.html | 224 +++++ .../conditional-rules.html | 43 + .../crashtests/initial-in-audio-crash.html | 13 + .../determine-registration.html | 232 +++++ .../font-size-animation.html | 44 + .../css/css-properties-values-api/idlharness.html | 16 + .../property-cascade.html | 63 ++ .../register-property-syntax-parsing.html | 222 +++++ .../register-property.html | 75 ++ .../registered-properties-inheritance.html | 89 ++ .../registered-property-change-style-001.html | 50 ++ .../registered-property-computation.html | 175 ++++ .../registered-property-crosstalk.html | 43 + .../registered-property-cssom.html | 91 ++ .../registered-property-initial.html | 71 ++ .../registered-property-revert.html | 94 ++ .../css-properties-values-api/resources/utils.js | 237 +++++ .../css/css-properties-values-api/self-utils.html | 41 + .../css-properties-values-api/support/alt/alt.css | 4 + .../css-properties-values-api/support/alt/alt.js | 11 + .../support/main/main.css | 22 + .../css-properties-values-api/support/main/main.js | 25 + .../support/main/main.utf16be.css | Bin 0 -> 184 bytes .../css/css-properties-values-api/typedom.html | 993 +++++++++++++++++++++ .../css/css-properties-values-api/unit-cycles.html | 248 +++++ .../css-properties-values-api/url-resolution.html | 137 +++ ...var-reference-registered-properties-cycles.html | 183 ++++ .../var-reference-registered-properties.html | 182 ++++ 90 files changed, 6797 insertions(+) create mode 100644 testing/web-platform/tests/css/css-properties-values-api/META.yml create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animate-invalid.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-custom-ident.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-image.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-inherited-used-by-standard-property.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-non-inherited-used-by-standard-property.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-function.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-multiple-values.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-single-values.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-url.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-angle.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-color.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-custom-ident.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-image.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-integer.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length-percentage.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-non-inherited-used-by-standard-property.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-number.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-percentage.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-resolution.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-time.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-list.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-url.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-animation.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-cssom.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-non-matching-media-crash.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-stylesheets.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-typedom.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units-dynamic.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/at-property.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/conditional-rules.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/crashtests/initial-in-audio-crash.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/determine-registration.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/font-size-animation.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/idlharness.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/property-cascade.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/register-property-syntax-parsing.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/register-property.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-properties-inheritance.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-property-change-style-001.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-property-computation.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-property-crosstalk.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-property-cssom.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-property-initial.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/registered-property-revert.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/resources/utils.js create mode 100644 testing/web-platform/tests/css/css-properties-values-api/self-utils.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/support/alt/alt.css create mode 100644 testing/web-platform/tests/css/css-properties-values-api/support/alt/alt.js create mode 100644 testing/web-platform/tests/css/css-properties-values-api/support/main/main.css create mode 100644 testing/web-platform/tests/css/css-properties-values-api/support/main/main.js create mode 100644 testing/web-platform/tests/css/css-properties-values-api/support/main/main.utf16be.css create mode 100644 testing/web-platform/tests/css/css-properties-values-api/typedom.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/unit-cycles.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/url-resolution.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/var-reference-registered-properties-cycles.html create mode 100644 testing/web-platform/tests/css/css-properties-values-api/var-reference-registered-properties.html (limited to 'testing/web-platform/tests/css/css-properties-values-api') diff --git a/testing/web-platform/tests/css/css-properties-values-api/META.yml b/testing/web-platform/tests/css/css-properties-values-api/META.yml new file mode 100644 index 0000000000..38cd166ca8 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/META.yml @@ -0,0 +1,4 @@ +spec: https://drafts.css-houdini.org/css-properties-values-api/ +suggested_reviewers: + - tabatkins + - astearns diff --git a/testing/web-platform/tests/css/css-properties-values-api/animate-invalid.html b/testing/web-platform/tests/css/css-properties-values-api/animate-invalid.html new file mode 100644 index 0000000000..41cbd067b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animate-invalid.html @@ -0,0 +1,20 @@ + +Do not crash when animating to unresolved var() + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html new file mode 100644 index 0000000000..a14b0bb09e --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html new file mode 100644 index 0000000000..8ce7a9deab --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle.html new file mode 100644 index 0000000000..0cb06aef0b --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-angle.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html new file mode 100644 index 0000000000..7148df0724 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html new file mode 100644 index 0000000000..679e244667 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color.html new file mode 100644 index 0000000000..001fc407e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-color.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-custom-ident.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-custom-ident.html new file mode 100644 index 0000000000..5bc2bed343 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-custom-ident.html @@ -0,0 +1,13 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-image.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-image.html new file mode 100644 index 0000000000..4f9505f9a8 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-image.html @@ -0,0 +1,13 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-inherited-used-by-standard-property.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-inherited-used-by-standard-property.html new file mode 100644 index 0000000000..231ecca8c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-inherited-used-by-standard-property.html @@ -0,0 +1,29 @@ + + + + + +
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html new file mode 100644 index 0000000000..3f4beaedf1 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html new file mode 100644 index 0000000000..89feb3af15 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer.html new file mode 100644 index 0000000000..400308a92e --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-integer.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html new file mode 100644 index 0000000000..6f1fefb76f --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html new file mode 100644 index 0000000000..bf3e75b791 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html new file mode 100644 index 0000000000..9497093b6e --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html new file mode 100644 index 0000000000..096efd6ba7 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-percentage.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html new file mode 100644 index 0000000000..102259a070 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length.html new file mode 100644 index 0000000000..8849bf52d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-length.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-non-inherited-used-by-standard-property.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-non-inherited-used-by-standard-property.html new file mode 100644 index 0000000000..11d3f6740d --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-non-inherited-used-by-standard-property.html @@ -0,0 +1,27 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html new file mode 100644 index 0000000000..937b6caeeb --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html new file mode 100644 index 0000000000..61f177eb05 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number.html new file mode 100644 index 0000000000..ea28acacf6 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-number.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html new file mode 100644 index 0000000000..c690046646 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html new file mode 100644 index 0000000000..d012b851fd --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage.html new file mode 100644 index 0000000000..6af498e702 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-percentage.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html new file mode 100644 index 0000000000..22201947ff --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html new file mode 100644 index 0000000000..d4765d4e32 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution.html new file mode 100644 index 0000000000..3d05139edc --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-resolution.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html new file mode 100644 index 0000000000..bf07baf130 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-comma-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html new file mode 100644 index 0000000000..c0fe206ea7 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time-space-list.html @@ -0,0 +1,59 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time.html new file mode 100644 index 0000000000..b9f5984db7 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-time.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-function.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-function.html new file mode 100644 index 0000000000..c4fcd5ce4c --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-function.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-multiple-values.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-multiple-values.html new file mode 100644 index 0000000000..9ffaec830f --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-multiple-values.html @@ -0,0 +1,66 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-single-values.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-single-values.html new file mode 100644 index 0000000000..b9bce6dd0b --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-transform-list-single-values.html @@ -0,0 +1,57 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-url.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-url.html new file mode 100644 index 0000000000..830b9e1f49 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-animation-url.html @@ -0,0 +1,13 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-angle.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-angle.html new file mode 100644 index 0000000000..974fc6c0db --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-angle.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-color.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-color.html new file mode 100644 index 0000000000..445a2a6391 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-color.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-custom-ident.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-custom-ident.html new file mode 100644 index 0000000000..e22d9ce882 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-custom-ident.html @@ -0,0 +1,15 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-image.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-image.html new file mode 100644 index 0000000000..b7fc68e6b8 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-image.html @@ -0,0 +1,15 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property.html new file mode 100644 index 0000000000..0680722d4a --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-inherited-used-by-standard-property.html @@ -0,0 +1,31 @@ + + + + + +
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-integer.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-integer.html new file mode 100644 index 0000000000..64685fe07c --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-integer.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length-percentage.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length-percentage.html new file mode 100644 index 0000000000..f1ed1dec26 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length-percentage.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length.html new file mode 100644 index 0000000000..f5a76490cc --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-length.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-list.html new file mode 100644 index 0000000000..7796e36a2e --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-mismatched-list.html @@ -0,0 +1,153 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-non-inherited-used-by-standard-property.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-non-inherited-used-by-standard-property.html new file mode 100644 index 0000000000..b96c28bc88 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-non-inherited-used-by-standard-property.html @@ -0,0 +1,28 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-number.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-number.html new file mode 100644 index 0000000000..a96e319686 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-number.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-percentage.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-percentage.html new file mode 100644 index 0000000000..71d51b0e27 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-percentage.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-resolution.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-resolution.html new file mode 100644 index 0000000000..5631910b7c --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-resolution.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-time.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-time.html new file mode 100644 index 0000000000..eb579b71f1 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-time.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html new file mode 100644 index 0000000000..aa491555c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-function.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-list.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-list.html new file mode 100644 index 0000000000..8b7424fec5 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-transform-list.html @@ -0,0 +1,16 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-url.html b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-url.html new file mode 100644 index 0000000000..785db04562 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/animation/custom-property-transition-url.html @@ -0,0 +1,15 @@ + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-animation.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-animation.html new file mode 100644 index 0000000000..9f81ae846e --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-animation.html @@ -0,0 +1,298 @@ + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-cssom.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-cssom.html new file mode 100644 index 0000000000..f7981f245a --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-cssom.html @@ -0,0 +1,197 @@ + + + + + + diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-non-matching-media-crash.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-non-matching-media-crash.html new file mode 100644 index 0000000000..c5b894f349 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-non-matching-media-crash.html @@ -0,0 +1,19 @@ + + + + + +

+ PASS if no crash +

+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html new file mode 100644 index 0000000000..db282d10b0 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-shadow.html @@ -0,0 +1,46 @@ + + + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-stylesheets.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-stylesheets.html new file mode 100644 index 0000000000..a7f3ea3948 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-stylesheets.html @@ -0,0 +1,106 @@ + +Verify that the correct registration is selected for mutated stylesheets + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-typedom.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-typedom.html new file mode 100644 index 0000000000..04c40c8be0 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-typedom.html @@ -0,0 +1,64 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units-dynamic.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units-dynamic.html new file mode 100644 index 0000000000..68adff6887 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units-dynamic.html @@ -0,0 +1,41 @@ + +@property: viewport units in initial value (dynamic) + + + + + + diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units.html b/testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units.html new file mode 100644 index 0000000000..51520c2a70 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property-viewport-units.html @@ -0,0 +1,91 @@ + +@property: viewport units in initial value + + + + + + diff --git a/testing/web-platform/tests/css/css-properties-values-api/at-property.html b/testing/web-platform/tests/css/css-properties-values-api/at-property.html new file mode 100644 index 0000000000..d996091dc2 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/at-property.html @@ -0,0 +1,224 @@ + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/conditional-rules.html b/testing/web-platform/tests/css/css-properties-values-api/conditional-rules.html new file mode 100644 index 0000000000..0bff879856 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/conditional-rules.html @@ -0,0 +1,43 @@ + + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-properties-values-api/crashtests/initial-in-audio-crash.html b/testing/web-platform/tests/css/css-properties-values-api/crashtests/initial-in-audio-crash.html new file mode 100644 index 0000000000..dfc2b850a5 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/crashtests/initial-in-audio-crash.html @@ -0,0 +1,13 @@ + + + + diff --git a/testing/web-platform/tests/css/css-properties-values-api/determine-registration.html b/testing/web-platform/tests/css/css-properties-values-api/determine-registration.html new file mode 100644 index 0000000000..20cddc48ad --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/determine-registration.html @@ -0,0 +1,232 @@ + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/font-size-animation.html b/testing/web-platform/tests/css/css-properties-values-api/font-size-animation.html new file mode 100644 index 0000000000..4b8ce1c255 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/font-size-animation.html @@ -0,0 +1,44 @@ + + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/idlharness.html b/testing/web-platform/tests/css/css-properties-values-api/idlharness.html new file mode 100644 index 0000000000..6f053757c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/idlharness.html @@ -0,0 +1,16 @@ + +CSS Properties Values API IDL tests + + + + + + diff --git a/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html b/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html new file mode 100644 index 0000000000..bb50213d5c --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/property-cascade.html @@ -0,0 +1,63 @@ + + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-properties-values-api/register-property-syntax-parsing.html b/testing/web-platform/tests/css/css-properties-values-api/register-property-syntax-parsing.html new file mode 100644 index 0000000000..f9022764b1 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/register-property-syntax-parsing.html @@ -0,0 +1,222 @@ + + + + + + + diff --git a/testing/web-platform/tests/css/css-properties-values-api/register-property.html b/testing/web-platform/tests/css/css-properties-values-api/register-property.html new file mode 100644 index 0000000000..feb6c28d47 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/register-property.html @@ -0,0 +1,75 @@ + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-properties-inheritance.html b/testing/web-platform/tests/css/css-properties-values-api/registered-properties-inheritance.html new file mode 100644 index 0000000000..614a72a797 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-properties-inheritance.html @@ -0,0 +1,89 @@ + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-property-change-style-001.html b/testing/web-platform/tests/css/css-properties-values-api/registered-property-change-style-001.html new file mode 100644 index 0000000000..320b44d82e --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-property-change-style-001.html @@ -0,0 +1,50 @@ + + +CSS Variables Test: Style changes on registered properties using variables + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-property-computation.html b/testing/web-platform/tests/css/css-properties-values-api/registered-property-computation.html new file mode 100644 index 0000000000..ec2d35c7fb --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-property-computation.html @@ -0,0 +1,175 @@ + + + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-property-crosstalk.html b/testing/web-platform/tests/css/css-properties-values-api/registered-property-crosstalk.html new file mode 100644 index 0000000000..8108894369 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-property-crosstalk.html @@ -0,0 +1,43 @@ + + + + + + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-property-cssom.html b/testing/web-platform/tests/css/css-properties-values-api/registered-property-cssom.html new file mode 100644 index 0000000000..6231e27e77 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-property-cssom.html @@ -0,0 +1,91 @@ + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-property-initial.html b/testing/web-platform/tests/css/css-properties-values-api/registered-property-initial.html new file mode 100644 index 0000000000..2fa062f310 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-property-initial.html @@ -0,0 +1,71 @@ + + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/registered-property-revert.html b/testing/web-platform/tests/css/css-properties-values-api/registered-property-revert.html new file mode 100644 index 0000000000..33c395d2c2 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/registered-property-revert.html @@ -0,0 +1,94 @@ + + + + + + +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-properties-values-api/resources/utils.js b/testing/web-platform/tests/css/css-properties-values-api/resources/utils.js new file mode 100644 index 0000000000..dbbda1d585 --- /dev/null +++ b/testing/web-platform/tests/css/css-properties-values-api/resources/utils.js @@ -0,0 +1,237 @@ +let next_property_id = 1; + +// Generate a unique property name on the form --prop-N. +function generate_name() { + return `--prop-${next_property_id++}`; +} + +// Produce a compatible initial value for the specified syntax. +function any_initial_value(syntax) { + let components = syntax.split('|').map(x => x.trim()) + let first_component = components[0]; + + if (first_component.endsWith('+') || first_component.endsWith('#')) + first_component = first_component.slice(0, -1); + + switch (first_component) { + case '*': + case '': + return 'NULL'; + case '': + return '0deg'; + case '': + return 'rgb(0, 0, 0)'; + case '': + case '': + return 'url(0)'; + case '': + case '': + case '': + case '': + return '0'; + case '': + return '0%'; + case '': + return '0dpi'; + case '