tor-browser

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

unicode-range-selector.html (683B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>Unicode range is not a token, and doesn't cause confusion in selectors</title>
      4 <link name="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      5 <link rel="help" href="https://drafts.csswg.org/css-syntax/#urange">
      6 <script src="/resources/testharness.js"></script>
      7 <script src="/resources/testharnessreport.js"></script>
      8 <style>
      9  a { color: red }
     10  u+a { color: green }
     11 </style>
     12 <u></u><a></a>
     13 <script>
     14  test(function() {
     15    assert_equals(
     16      getComputedStyle(document.querySelector("a")).color,
     17      "rgb(0, 128, 0)"
     18    );
     19  }, "Unicode range is not a token, and doesn't cause confusion in selectors");
     20 </script>