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