tor-browser

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

text-emphasis-style-property-010Cn.html (1094B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Test: text-emphasis, Cn</title>
      4 <link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
      5 <link rel="author" title="Mozilla" href="https://www.mozilla.org">
      6 <link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#text-emphasis-style-property">
      7 <meta name="assert" content="Emphasis marks should not be rendered for non-characters">
      8 <link rel="match" href="text-emphasis-style-property-010-ref.html">
      9 <p>Pass if there is nothing rendered below:</p>
     10 <div style="color: white; white-space: pre-wrap; text-emphasis: filled circle red">
     11 <script>
     12  // U+FDD0..U+FDEF and U+XXFFFE..U+XXFFFF are noncharacters,
     13  // and thus guaranteed to be unassigned.
     14  var codepoints = [];
     15  for (var code = 0xFDD0; code <= 0xFDEF; ++code) {
     16    codepoints.push(code);
     17  }
     18  for (var plane = 0; plane <= 0x10; ++plane) {
     19    codepoints.push(plane * 0x10000 + 0xFFFE);
     20    codepoints.push(plane * 0x10000 + 0xFFFF);
     21  }
     22  document.write(codepoints.map(function (code) {
     23    return String.fromCodePoint(code);
     24  }).join(' '));
     25 </script>
     26 </div>