summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html')
-rw-r--r--testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html b/testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html
new file mode 100644
index 0000000000..31abb16cdc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html class=reftest-wait>
+<title>Dynamic content change on ::marker</title>
+<link rel="help" href="https://drafts.csswg.org/css-lists-3/#marker-pseudo">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1697998">
+<link rel="author" title="Mozilla" href="https://mozilla.org">
+<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
+<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
+<link rel="match" href="marker-dynamic-content-change-ref.html">
+<style>
+::marker {
+ content: "FAIL";
+}
+.tweak ::marker {
+ content: "PASS";
+}
+</style>
+<script>
+ document.addEventListener("TestRendered", function() {
+ document.documentElement.classList = "tweak";
+ });
+</script>
+<ol>
+ <li>Item
+</ol>