summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/355989-1.xhtml
blob: 1af1c3273c757a2412ce107869fe2249eb15b89f (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
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<style>
 body, #tq { display: inline; } 
 #tq { position: relative; }
</style>

<style id="newstyle">
</style>

<script>
function foo()
{
  document.getElementById("tq").style.position = "static";
  document.getElementById("newstyle").textContent = "*:first-letter { }";
}
</script>

</head>

<body onload="foo()">
  <table><tr><td>Table</td></tr></table>
  <div id="tq">Div</div>
</body>

</html>