summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-lists/marker-dynamic-content-change.html
blob: 31abb16cdc276e54e1059277ce9a6a0ec417ade8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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>