summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1069716-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1069716-1.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1069716-1.html b/layout/reftests/bugs/1069716-1.html
new file mode 100644
index 0000000000..2615a1f01e
--- /dev/null
+++ b/layout/reftests/bugs/1069716-1.html
@@ -0,0 +1,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.