summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/css/css-content/parsing
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-content/parsing
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-content/parsing')
-rw-r--r--testing/web-platform/meta/css/css-content/parsing/content-computed.html.ini58
-rw-r--r--testing/web-platform/meta/css/css-content/parsing/content-valid.html.ini207
2 files changed, 265 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/css-content/parsing/content-computed.html.ini b/testing/web-platform/meta/css/css-content/parsing/content-computed.html.ini
new file mode 100644
index 0000000000..4e09f39cd9
--- /dev/null
+++ b/testing/web-platform/meta/css/css-content/parsing/content-computed.html.ini
@@ -0,0 +1,58 @@
+[content-computed.html]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1281158
+ [Property content value 'open-quote / "alt text"']
+ expected: FAIL
+
+ [Property content value 'close-quote / "alt text"']
+ expected: FAIL
+
+ [Property content value 'no-open-quote / "alt text"']
+ expected: FAIL
+
+ [Property content value 'no-close-quote / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counter(counter-name) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counter(counter-name, counter-style) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counter(counter-name, dECiMaL) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counter(counter-name, DECIMAL) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counters(counter-name, ".") / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counters(counter-name, ".", counter-style) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counters(counter-name, ".", dECiMaL) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counters(counter-name, ".", DECIMAL) / "alt text"']
+ expected: FAIL
+
+ [Property content value 'url("https://www.example.com/picture.svg") / "alt text"']
+ expected: FAIL
+
+ [Property content value '"hello" / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counter(counter-name) "potato" / "alt text"']
+ expected: FAIL
+
+ [Property content value 'counters(counter-name, ".") "potato" / "alt text"']
+ expected: FAIL
+
+ [Property content value '"(" counters(counter-name, ".", counter-style) ")" / "alt text"']
+ expected: FAIL
+
+ [Property content value 'open-quote "hello" "world" close-quote / "alt text"']
+ expected: FAIL
+
+ [Property content value 'url("https://www.example.com/picture.svg") "hello" / "alt text"']
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-content/parsing/content-valid.html.ini b/testing/web-platform/meta/css/css-content/parsing/content-valid.html.ini
new file mode 100644
index 0000000000..c8cc95c8a2
--- /dev/null
+++ b/testing/web-platform/meta/css/css-content/parsing/content-valid.html.ini
@@ -0,0 +1,207 @@
+[content-valid.html]
+ [e.style['content'\] = "open-quote / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "open-quote / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "open-quote / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "close-quote / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "close-quote / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "close-quote / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "no-open-quote / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "no-open-quote / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "no-open-quote / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "no-close-quote / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "no-close-quote / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "no-close-quote / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "attr(alt) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "attr(alt) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "attr(alt) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "attr(data-foo) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "attr(data-foo) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "attr(data-foo) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, counter-style) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, counter-style) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, counter-style) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, dECiMaL) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, dECiMaL) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, dECiMaL) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, DECIMAL) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, DECIMAL) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name, DECIMAL) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\") / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\") / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\") / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", counter-style) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", counter-style) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", counter-style) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", dECiMaL) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", dECiMaL) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", dECiMaL) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", DECIMAL) / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", DECIMAL) / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\", DECIMAL) / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "url(\\"https://www.example.com/picture.svg\\") / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "url(\\"https://www.example.com/picture.svg\\") / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "url(\\"https://www.example.com/picture.svg\\") / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" \\"world\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" \\"world\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" \\"world\\" / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" attr(alt) \\"world\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" attr(alt) \\"world\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"hello\\" attr(alt) \\"world\\" / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name) \\"potato\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name) \\"potato\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counter(counter-name) \\"potato\\" / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\") \\"potato\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\") \\"potato\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "counters(counter-name, \\".\\") \\"potato\\" / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"(\\" counters(counter-name, \\".\\", counter-style) \\")\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"(\\" counters(counter-name, \\".\\", counter-style) \\")\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "\\"(\\" counters(counter-name, \\".\\", counter-style) \\")\\" / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "open-quote \\"hello\\" \\"world\\" close-quote / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "open-quote \\"hello\\" \\"world\\" close-quote / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "open-quote \\"hello\\" \\"world\\" close-quote / attr(foo)" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "url(\\"https://www.example.com/picture.svg\\") \\"hello\\" / \\"alt text\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "url(\\"https://www.example.com/picture.svg\\") \\"hello\\" / \\"alt text\\" attr(foo) \\"bar\\"" should set the property value]
+ expected: FAIL
+
+ [e.style['content'\] = "url(\\"https://www.example.com/picture.svg\\") \\"hello\\" / attr(foo)" should set the property value]
+ expected: FAIL