summaryrefslogtreecommitdiffstats
path: root/layout/style/crashtests/383979-1.xhtml
blob: 9a3f8e67357a5472ceed86dfccdfb2f3df707216 (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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>

function boom()
{
  document.getElementById("div1").appendChild(document.getElementById("div2"));
}

</script>

<style type="text/css">

#s1, #s2 { 
  font: 8pt arial;
}

#div1 #s1, #div1 #s2 {
  font-size: 20pt;
}

</style>
</head>

<body onload="boom();">

<div id="div1"></div>
<div id="div2"><span id="s1"><span id="s2">foo</span></span></div>

</body>
</html>