summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/372553-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 0000000000..7b6ed2cecf
--- /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.remove();
+</script>
+
+</body>
+</html>