tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

counter-important.html (488B)


      1 <!DOCTYPE html>
      2 <html>
      3  <head>
      4    <title>CSS Counters: !important flag parsing</title>
      5    <link rel="help" href="https://crbug.com/340100643">
      6    <script src="/resources/testharness.js"></script>
      7    <script src="/resources/testharnessreport.js"></script>
      8  </head>
      9  <body>
     10    <div id="target" style="counter-increment: abc 1 xyz 2 !important">Some text.</div>
     11  </body>
     12  <script>
     13 test(() => {
     14  assert_equals(target.style.counterIncrement, 'abc 1 xyz 2');
     15 });
     16  </script>
     17 </html>