summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1069716-1.html
blob: 2615a1f01e73b617c4c2cf79585f20bac63bdf6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<script>
  function go() {
    var styleNode = document.createElement("style");
    styleNode.textContent =
      "@counter-style triangle { symbols: b; } \n" +
      "@counter-style disc     { system: extends triangle; } \n";

    // NOTE: The bug goes away if you remove this trivial rule:
    styleNode.textContent += "ul {}";

    document.getElementsByTagName("head")[0].appendChild(styleNode);
  }
</script>
</head>
<body onload="go()">
  <ul><li>&lt;---That should be a 'b' character.