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