summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-letter/429968-2a.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/first-letter/429968-2a.html')
-rw-r--r--layout/reftests/first-letter/429968-2a.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/first-letter/429968-2a.html b/layout/reftests/first-letter/429968-2a.html
new file mode 100644
index 000000000..dd7d4091c
--- /dev/null
+++ b/layout/reftests/first-letter/429968-2a.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").textContent = "";
+</script>
+</html>