summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1066089-1.html
blob: 019a20a7f8d7d2c29218f291b4ee7d764e1d7fae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<style>
  @counter-style triangle { symbols: a; }
  @counter-style disc     { system: extends triangle; }
</style>
<script>
  function crash() {
    var styleNode = document.createElement("style");
    styleNode.textContent =
      "@counter-style triangle { symbols: b; } " +
      "@counter-style disc     { system: extends triangle; } " +
      "ul {}";
    document.getElementsByTagName("head")[0].appendChild(styleNode);
  }
</script>
</head>
<body onload="crash()">
  <ul><li>Don't technically need any text here, but here's some anyway.