diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /testing/web-platform/tests/css/css-backgrounds/parsing | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-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/parsing')
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/parsing/WEB_FEATURES.yml | 7 | ||||
-rw-r--r-- | testing/web-platform/tests/css/css-backgrounds/parsing/background-image-valid.html | 14 |
2 files changed, 14 insertions, 7 deletions
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> |