summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-emphasis-unrepresentable-characters.html
blob: 1c108faabd33fbbd4827bb1fca9a3d4834037deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<title>Emphasis marks for unrepresentable characters should not crash</title>
<link rel="author" title="Emil A Eklund" href="eae@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-text-decor-3/#emphasis-marks" title="3 Emphasis Marks">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
  div {
    text-emphasis: circle;
    -webkit-text-emphasis-style: circle;
  }
</style>
<body>
  <div></div>
</body>
<script>
  var el = document.body.firstElementChild;
  el.appendChild(document.createTextNode(unescape('%udb14')));
  el.appendChild(document.createTextNode(unescape('%udfe3%u7af4')));
</script>
<script>test(()=>{})</script>