tor-browser

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

content-counter-valid.html (609B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Content Test: counter() in alt text parsing</title>
      4 <link rel="help" href="https://drafts.csswg.org/css-content-3/#content-property">
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="/css/support/parsing-testcommon.js"></script>
      8 <div id="target"></div>
      9 <script>
     10  test_valid_value("content", `"" / counter(cnt)`);
     11  test_valid_value("content", `"regular text" / "alt text 1" counter(cnt) "alt text 2"`);
     12  test_valid_value("content", `"regular text" / counter(cnt) "alt text"`);
     13 </script>