summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/crashtests/first-letter-contributed-to-ancestor.html
blob: f50841d94a781cddb8bc49ec446b6c04803e5f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1495811">
<style>
  math {
    display: inline-block;
  }
  math::first-letter {
    background-color: blue;
  }
</style>
<math>
  <mo id="mo">%</mo>
</math>
<script>
  mo.appendChild(document.createTextNode("A"));
  document.body.innerText += "";
</script>