summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-line/stress-5.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/first-line/stress-5.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/first-line/stress-5.html b/layout/reftests/first-line/stress-5.html
new file mode 100644
index 0000000000..486d378fa3
--- /dev/null
+++ b/layout/reftests/first-line/stress-5.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+#b::first-letter { }
+#c::first-line { }
+</style>
+</head>
+<body>
+This page should not crash Mozilla
+<div id="c">
+ <table>
+ <div id="b" style="display:table-header-group;">
+ <q>
+ text
+ <div style="position:fixed;">
+ <q>y</q>
+ </div>
+ </q>
+ </div>
+ <span style="display: table;"></span>
+</div>
+
+</body>
+</html>