summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/372553-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/372553-1.html')
-rw-r--r--layout/reftests/bugs/372553-1.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/bugs/372553-1.html b/layout/reftests/bugs/372553-1.html
new file mode 100644
index 000000000..9f2a5024f
--- /dev/null
+++ b/layout/reftests/bugs/372553-1.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+
+<style>
+
+body {
+ width: 5em;
+ font-family: monospace;
+ border: 1px solid yellow;
+}
+
+body:first-letter {
+ color: blue;
+}
+
+</style>
+
+</head>
+<body>
+
+<span><span><span id="sss">Aaa </span></span>Bbbbbbbbbbbbbb<span></span></span>
+
+<script>
+document.body.offsetWidth;
+sss = document.getElementById("sss");
+sss.parentNode.removeChild(sss);
+</script>
+
+</body>
+</html>