summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/1455108.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/crashtests/1455108.html')
-rw-r--r--layout/style/crashtests/1455108.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/style/crashtests/1455108.html b/layout/style/crashtests/1455108.html
new file mode 100644
index 0000000000..29b1467797
--- /dev/null
+++ b/layout/style/crashtests/1455108.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<style>
+ div::first-line {
+ color: yellow:
+ }
+ .foo span {
+ display: none;
+ }
+ .foo::first-line {
+ color: red;
+ }
+</style>
+<div><span>Yo, I'm a first-line<span> really</span></span>
+<script>
+ document.body.offsetTop;
+ document.querySelector('div').classList.add('foo');
+</script>