summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /testing/web-platform/tests/css/css-backgrounds
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-backgrounds')
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/WEB_FEATURES.yml9
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/animations/WEB_FEATURES.yml4
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/animations/box-shadow-interpolation.html4
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/background-clip/WEB_FEATURES.yml10
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt12
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/background-origin/list.txt12
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/parsing/WEB_FEATURES.yml7
-rw-r--r--testing/web-platform/tests/css/css-backgrounds/parsing/background-image-valid.html14
8 files changed, 39 insertions, 33 deletions
diff --git a/testing/web-platform/tests/css/css-backgrounds/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-backgrounds/WEB_FEATURES.yml
new file mode 100644
index 0000000000..bee11ae42c
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/WEB_FEATURES.yml
@@ -0,0 +1,9 @@
+features:
+- name: background-clip
+ files:
+ - background-clip*
+ - css3-background-clip*
+- name: border-image
+ files:
+ - border-image*
+ - css3-border-image*
diff --git a/testing/web-platform/tests/css/css-backgrounds/animations/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-backgrounds/animations/WEB_FEATURES.yml
new file mode 100644
index 0000000000..0d5911d01d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/animations/WEB_FEATURES.yml
@@ -0,0 +1,4 @@
+features:
+- name: border-image
+ files:
+ - border-image-*
diff --git a/testing/web-platform/tests/css/css-backgrounds/animations/box-shadow-interpolation.html b/testing/web-platform/tests/css/css-backgrounds/animations/box-shadow-interpolation.html
index f0b7ec083e..be8f9d3572 100644
--- a/testing/web-platform/tests/css/css-backgrounds/animations/box-shadow-interpolation.html
+++ b/testing/web-platform/tests/css/css-backgrounds/animations/box-shadow-interpolation.html
@@ -211,7 +211,7 @@ test_interpolation({
test_interpolation({
property: 'box-shadow',
- from: '10px 10px 10px 10px color(srgb 0, 0, 0)',
+ from: '10px 10px 10px 10px color(srgb 0 0 0)',
to: '10px 10px 10px 10px rgb(255 255 255)',
}, [
{at: -0.3, expect: '10px 10px 10px 10px oklab(0 0 0)'},
@@ -224,7 +224,7 @@ test_interpolation({
test_interpolation({
property: 'box-shadow',
- from: '10px 10px 10px 10px color(srgb 0, 0, 0)',
+ from: '10px 10px 10px 10px color(srgb 0 0 0)',
to: '10px 10px 10px 10px color(srgb 1 1 1)',
}, [
{at: -0.3, expect: '10px 10px 10px 10px oklab(0 0 0)'},
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-backgrounds/background-clip/WEB_FEATURES.yml
new file mode 100644
index 0000000000..5258340cee
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/background-clip/WEB_FEATURES.yml
@@ -0,0 +1,10 @@
+features:
+- name: background-clip
+ files:
+ - clip-border-box*
+ - clip-content-box*
+ - clip-padding-box*
+ - clip-rounded-corner.html
+- name: background-clip-text
+ files:
+ - clip-text-*
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt b/testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt
deleted file mode 100644
index 52c47ebba9..0000000000
--- a/testing/web-platform/tests/css/css-backgrounds/background-clip/list.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-background-clip/border-box.html
-background-clip/border-box_with_position.html
-background-clip/border-box_with_radius.html
-background-clip/border-box_with_size.html
-background-clip/content-box.html
-background-clip/content-box_with_position.html
-background-clip/content-box_with_radius.html
-background-clip/content-box_with_size.html
-background-clip/padding-box.html
-background-clip/padding-box_with_position.html
-background-clip/padding-box_with_radius.html
-background-clip/padding-box_with_size.html
diff --git a/testing/web-platform/tests/css/css-backgrounds/background-origin/list.txt b/testing/web-platform/tests/css/css-backgrounds/background-origin/list.txt
deleted file mode 100644
index a6fdedde54..0000000000
--- a/testing/web-platform/tests/css/css-backgrounds/background-origin/list.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-background-origin/border-box.html
-background-origin/border-box_with_position.html
-background-origin/border-box_with_radius.html
-background-origin/border-box_with_size.html
-background-origin/content-box.html
-background-origin/content-box_with_position.html
-background-origin/content-box_with_radius.html
-background-origin/content-box_with_size.html
-background-origin/padding-box.html
-background-origin/padding-box_with_position.html
-background-origin/padding-box_with_radius.html
-background-origin/padding-box_with_size.html
diff --git a/testing/web-platform/tests/css/css-backgrounds/parsing/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-backgrounds/parsing/WEB_FEATURES.yml
new file mode 100644
index 0000000000..6a2438077a
--- /dev/null
+++ b/testing/web-platform/tests/css/css-backgrounds/parsing/WEB_FEATURES.yml
@@ -0,0 +1,7 @@
+features:
+- name: background-clip
+ files:
+ - background-clip-*
+- name: border-image
+ files:
+ - border-image-*
diff --git a/testing/web-platform/tests/css/css-backgrounds/parsing/background-image-valid.html b/testing/web-platform/tests/css/css-backgrounds/parsing/background-image-valid.html
index da08a63885..dcffc3dde5 100644
--- a/testing/web-platform/tests/css/css-backgrounds/parsing/background-image-valid.html
+++ b/testing/web-platform/tests/css/css-backgrounds/parsing/background-image-valid.html
@@ -21,19 +21,19 @@ test_valid_value("background-image", 'none, url("http://www.example.com/")', ['n
test_valid_value(
"background-image",
"cross-fade(50% url(http://www.example.com), 50% url(http://www.example.com))", [
- "cross-fade(50% url(http://www.example.com), 50% url(http://www.example.com))",
- 'cross-fade(50% url("http://www.example.com"), 50% url("http://www.example.com"))'
+ "cross-fade(url(http://www.example.com) 50%, url(http://www.example.com) 50%)",
+ 'cross-fade(url("http://www.example.com") 50%, url("http://www.example.com") 50%)'
]);
test_valid_value(
"background-image",
- "cross-fade(33% red, 33% white, blue)");
+ "cross-fade(red 33%, white 33%, blue)");
test_valid_value(
"background-image",
"cross-fade(blue, linear-gradient(90deg, rgb(2, 0, 36) 0%, rgb(0, 212, 255) 100%))");
-test_valid_value("background-image", "cross-fade( 1% red, green)", "cross-fade(1% red, green)");
-test_valid_value("background-image", "cross-fade(1% red , green)", "cross-fade(1% red, green)");
-test_valid_value("background-image", "cross-fade(1% red, green )", "cross-fade(1% red, green)");
-test_valid_value("background-image", "cross-fade(1% red, cross-fade(2% red, green))");
+test_valid_value("background-image", "cross-fade( 1% red, green)", "cross-fade(red 1%, green)");
+test_valid_value("background-image", "cross-fade(1% red , green)", "cross-fade(red 1%, green)");
+test_valid_value("background-image", "cross-fade(1% red, green )", "cross-fade(red 1%, green)");
+test_valid_value("background-image", "cross-fade(red 1%, cross-fade(red 2%, green))");
</script>
</body>
</html>