summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-line/403177-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/first-line/403177-1.html')
-rw-r--r--layout/reftests/first-line/403177-1.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/first-line/403177-1.html b/layout/reftests/first-line/403177-1.html
new file mode 100644
index 000000000..3d376704f
--- /dev/null
+++ b/layout/reftests/first-line/403177-1.html
@@ -0,0 +1,23 @@
+<html>
+<head>
+<style>
+
+.fl:first-line { color: #ff00ff; background: #ffccff; }
+
+.flWithContent:first-line { content: "generated"; }
+
+</style>
+</head>
+
+<body onload="document.getElementById('inner').removeAttribute('class');">
+
+<div id="outer" class="fl">
+ a
+ <div id="inner" style="float: left;" class="flWithContent">
+ b
+ </div>
+ c
+</div>
+
+</body>
+</html>