summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/331679-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/331679-1.xhtml')
-rw-r--r--layout/base/crashtests/331679-1.xhtml36
1 files changed, 36 insertions, 0 deletions
diff --git a/layout/base/crashtests/331679-1.xhtml b/layout/base/crashtests/331679-1.xhtml
new file mode 100644
index 000000000..298949197
--- /dev/null
+++ b/layout/base/crashtests/331679-1.xhtml
@@ -0,0 +1,36 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Bug 331679 testcase</title>
+
+
+<style id="style">
+.cat::-moz-table-row-group { overflow: scroll; }
+.toad { position: absolute; }
+</style>
+
+<script>
+
+function init()
+{
+ document.getElementById("style").textContent += "table::-moz-table-row { opacity: 0.2; }";
+ document.getElementById("row").setAttribute("class", "toad");
+ document.getElementById("table").setAttribute("class", "cat");
+}
+
+window.addEventListener("load", init, false);
+
+</script>
+
+</head>
+
+<body>
+
+<table id="table">
+ <tr id="row">
+ <td>Cell</td>
+ </tr>
+</table>
+
+
+</body>
+</html>