diff --git a/testing/web-platform/tests/css/css-color/t424-hsl-clip-outside-gamut-b-ref.html b/testing/web-platform/tests/css/css-color/hsl-clamp-negative-saturation-ref.html
similarity index 56%
rename from testing/web-platform/tests/css/css-color/t424-hsl-clip-outside-gamut-b-ref.html
rename to testing/web-platform/tests/css/css-color/hsl-clamp-negative-saturation-ref.html
index 7d1f1bf278607..33a82517ae7f6 100644
--- a/testing/web-platform/tests/css/css-color/t424-hsl-clip-outside-gamut-b-ref.html
+++ b/testing/web-platform/tests/css/css-color/hsl-clamp-negative-saturation-ref.html
@@ -7,29 +7,12 @@
td { border: none; padding: 0; height: 1.2em; }
- WARNING: This test assumes that the device gamut is sRGB
- (as it will be for many CRT monitors).
Every row in this table should have both columns the same color:
Column 1 |
Column 2 |
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
|
diff --git a/testing/web-platform/tests/css/css-color/hsl-clamp-negative-saturation.html b/testing/web-platform/tests/css/css-color/hsl-clamp-negative-saturation.html
new file mode 100644
index 0000000000000..25b54c2e2cb5a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/hsl-clamp-negative-saturation.html
@@ -0,0 +1,37 @@
+
+
+
+ CSS Test: hsl() clamp negative saturation values
+
+
+
+
+
+
+
+
+
+ Every row in this table should have both columns the same color:
+
+
+
+ Column 1 |
+ Column 2 |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-color/t425-hsla-clip-outside-device-gamut-b-ref.html b/testing/web-platform/tests/css/css-color/hsla-clamp-negative-saturation-ref.html
similarity index 56%
rename from testing/web-platform/tests/css/css-color/t425-hsla-clip-outside-device-gamut-b-ref.html
rename to testing/web-platform/tests/css/css-color/hsla-clamp-negative-saturation-ref.html
index d35a608fb58c1..bbf5c3b037d07 100644
--- a/testing/web-platform/tests/css/css-color/t425-hsla-clip-outside-device-gamut-b-ref.html
+++ b/testing/web-platform/tests/css/css-color/hsla-clamp-negative-saturation-ref.html
@@ -8,29 +8,12 @@
td { border: none; padding: 0; height: 1.2em; }
- WARNING: This test assumes that the device gamut is sRGB
- (as it will be for many CRT monitors).
Every row in this table should have both columns the same color:
Column 1 |
Column 2 |
-
- |
-
-
- |
-
-
- |
-
-
- |
-
-
- |
-
|
diff --git a/testing/web-platform/tests/css/css-color/hsla-clamp-negative-saturation.html b/testing/web-platform/tests/css/css-color/hsla-clamp-negative-saturation.html
new file mode 100644
index 0000000000000..239151efe3a5c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-color/hsla-clamp-negative-saturation.html
@@ -0,0 +1,38 @@
+
+
+
+ CSS Test: hsla() clamp negative saturation values
+
+
+
+
+
+
+
+
+
+ Every row in this table should have both columns the same color:
+
+
+
+ Column 1 |
+ Column 2 |
+
+
+ |
+ |
+
+
+ |
+ |
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-color/t424-hsl-clip-outside-gamut-b.xht b/testing/web-platform/tests/css/css-color/t424-hsl-clip-outside-gamut-b.xht
deleted file mode 100644
index d66c2db925a8d..0000000000000
--- a/testing/web-platform/tests/css/css-color/t424-hsl-clip-outside-gamut-b.xht
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
- CSS Test: hsl() clipping outside device gamut
-
-
-
-
-
-
-
-
-
- WARNING: This test assumes that the device gamut is sRGB
- (as it will be for many CRT monitors).
-
- Every row in this table should have both columns the same color:
-
-
-
- Column 1 |
- Column 2 |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
-
-
-
diff --git a/testing/web-platform/tests/css/css-color/t425-hsla-clip-outside-device-gamut-b.xht b/testing/web-platform/tests/css/css-color/t425-hsla-clip-outside-device-gamut-b.xht
deleted file mode 100644
index d30cf8c48393c..0000000000000
--- a/testing/web-platform/tests/css/css-color/t425-hsla-clip-outside-device-gamut-b.xht
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
- CSS Test: hsla() clipping outside device gamut
-
-
-
-
-
-
-
-
-
- WARNING: This test assumes that the device gamut is sRGB
- (as it will be for many CRT monitors).
-
- Every row in this table should have both columns the same color:
-
-
-
- Column 1 |
- Column 2 |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
- |
- |
-
-
-
-
-
diff --git a/testing/web-platform/tests/html/canvas/tools/yaml/element/meta.yaml b/testing/web-platform/tests/html/canvas/tools/yaml/element/meta.yaml
index 5fd8b68498ac3..12852e200ad71 100644
--- a/testing/web-platform/tests/html/canvas/tools/yaml/element/meta.yaml
+++ b/testing/web-platform/tests/html/canvas/tools/yaml/element/meta.yaml
@@ -390,18 +390,12 @@
('hsl-4', 'hsl(-360240, 100%, 50%)', 0,255,0,255, ""),
('hsl-5', 'hsl(120.0, 100.0%, 50.0%)', 0,255,0,255, ""),
('hsl-6', 'hsl(+120, +100%, +50%)', 0,255,0,255, ""),
- ('hsl-clamp-1', 'hsl(120, 200%, 50%)', 0,255,0,255, ""),
- ('hsl-clamp-2', 'hsl(120, -200%, 49.9%)', 127,127,127,255, ""),
- ('hsl-clamp-3', 'hsl(120, 100%, 200%)', 255,255,255,255, ""),
- ('hsl-clamp-4', 'hsl(120, 100%, -200%)', 0,0,0,255, ""),
+ ('hsl-clamp-negative-saturation', 'hsl(120, -200%, 49.9%)', 127,127,127,255, ""),
('hsla-1', 'hsla(120, 100%, 50%, 0.499)', 0,255,0,127, ""),
('hsla-2', 'hsla( 120.0 , 100.0% , 50.0% , 1 )', 0,255,0,255, ""),
- ('hsla-clamp-1', 'hsla(120, 200%, 50%, 1)', 0,255,0,255, ""),
- ('hsla-clamp-2', 'hsla(120, -200%, 49.9%, 1)', 127,127,127,255, ""),
- ('hsla-clamp-3', 'hsla(120, 100%, 200%, 1)', 255,255,255,255, ""),
- ('hsla-clamp-4', 'hsla(120, 100%, -200%, 1)', 0,0,0,255, ""),
- ('hsla-clamp-5', 'hsla(120, 100%, 50%, 2)', 0,255,0,255, ""),
- ('hsla-clamp-6', 'hsla(120, 100%, 0%, -2)', 0,0,0,0, ""),
+ ('hsla-clamp-negative-saturation', 'hsla(120, -200%, 49.9%, 1)', 127,127,127,255, ""),
+ ('hsla-clamp-alpha-1', 'hsla(120, 100%, 50%, 2)', 0,255,0,255, ""),
+ ('hsla-clamp-alpha-2', 'hsla(120, 100%, 0%, -2)', 0,0,0,0, ""),
('svg-1', 'gray', 128,128,128,255, ""),
('svg-2', 'grey', 128,128,128,255, ""),
# css-color-4 rgb() color function