summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/css/css-images/image-set
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/css/css-images/image-set
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/css/css-images/image-set')
-rw-r--r--testing/web-platform/meta/css/css-images/image-set/__dir__.ini2
-rw-r--r--testing/web-platform/meta/css/css-images/image-set/image-set-parsing.html.ini40
2 files changed, 42 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/css-images/image-set/__dir__.ini b/testing/web-platform/meta/css/css-images/image-set/__dir__.ini
new file mode 100644
index 0000000000..defc16f344
--- /dev/null
+++ b/testing/web-platform/meta/css/css-images/image-set/__dir__.ini
@@ -0,0 +1,2 @@
+lsan-allowed: [Alloc, MakeUnique, Malloc, Realloc, XPCNativeInterface::NewInstance, XPCNativeSet::NewInstance, XPCNativeSet::NewInstanceMutate, XPCWrappedNative::GetNewOrUsed, XPCWrappedNativeProto::GetNewOrUsed, mozilla::extensions::MatchPatternCore::MatchPatternCore, mozilla::extensions::MatchPatternSet::Constructor, mozilla::extensions::MatchPatternSet::GetPatterns]
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/css/css-images/image-set/image-set-parsing.html.ini b/testing/web-platform/meta/css/css-images/image-set/image-set-parsing.html.ini
new file mode 100644
index 0000000000..5a78e9229c
--- /dev/null
+++ b/testing/web-platform/meta/css/css-images/image-set/image-set-parsing.html.ini
@@ -0,0 +1,40 @@
+[image-set-parsing.html]
+ [e.style['background-image'\] = "image-set(url(\\"example.png\\") -20x)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -20x)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "image-set(url(\\"example.png\\") -1x)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -1x)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "image-set(url(\\"example.png\\") -3dppx)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -3dppx)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "image-set(url(\\"example.png\\") -96dpi)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -96dpi)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "image-set(url(\\"example.png\\") -113dpcm)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [e.style['background-image'\] = "-webkit-image-set(url(\\"example.png\\") -113dpcm)" should not set the property value]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]