summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/429968-2b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/first-letter/429968-2b.html')
-rw-r--r--layout/reftests/first-letter/429968-2b.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/429968-2b.html b/layout/reftests/first-letter/429968-2b.html
new file mode 100644
index 000000000..4f3daffa1
--- /dev/null
+++ b/layout/reftests/first-letter/429968-2b.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<style>
+body { white-space:pre; color:black; }
+#inner::first-letter { color:lime; }
+</style>
+</head>
+<body><div id="inner"><span id="s">
+</span>AB</div></body>
+<script>
+document.body.offsetTop;
+document.getElementById("s").firstChild.data = "";
+</script>
+</html>