summaryrefslogtreecommitdiffstats
path: root/layout/reftests/first-line/stress-2.html
blob: 50020072663adee18a09177798702a3fd9303e96 (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
<!DOCTYPE html>
<html class="reftest-wait">
<head>

<style>
#fl:first-line { }
</style>

<script>
function boom()
{
  document.getElementById("s").style.overflow = "auto";
  document.body.offsetWidth;
  document.documentElement.className = "";  
}
</script>

</head>
<body onload="setTimeout(boom, 300);">

<div id="fl">
  <b><span id="s">Foo</span></b>
</div>

</body>
</html>