mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
21 lines
544 B
HTML
21 lines
544 B
HTML
<!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><---That should be a 'b' character.
|