marker-dynamic-content-change.html (771B)
1 <!doctype html> 2 <html class=reftest-wait> 3 <title>Dynamic content change on ::marker</title> 4 <link rel="help" href="https://drafts.csswg.org/css-lists-3/#marker-pseudo"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1697998"> 6 <link rel="author" title="Mozilla" href="https://mozilla.org"> 7 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 8 <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> 9 <link rel="match" href="marker-dynamic-content-change-ref.html"> 10 <style> 11 ::marker { 12 content: "FAIL"; 13 } 14 .tweak ::marker { 15 content: "PASS"; 16 } 17 </style> 18 <script> 19 document.addEventListener("TestRendered", function() { 20 document.documentElement.classList = "tweak"; 21 }); 22 </script> 23 <ol> 24 <li>Item 25 </ol>