summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/372553-1.html
blob: 9f2a5024f14054a377f4f8861ea9c71bc451674d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>