gecko/layout/style/crashtests/1066089-1.html
2014-09-23 14:12:54 -07:00

22 lines
596 B
HTML

<!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.