summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1331272.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1331272.html')
-rw-r--r--layout/style/crashtests/1331272.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/style/crashtests/1331272.html b/layout/style/crashtests/1331272.html
new file mode 100644
index 0000000000..6ee9f022f7
--- /dev/null
+++ b/layout/style/crashtests/1331272.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<style>
+ div::before {
+ content: "PASS";
+ display: none;
+ }
+ .foo::before {
+ display: none;
+ }
+</style>
+<div></div>
+<script>
+window.onload = function() {
+ document.querySelector('div').className = "foo";
+}
+</script>