summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/388715-1.html
blob: be09591f8d93d1bb9c5245eabfa2e02964279cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>

<style type="text/css">
#div:first-letter { float: left; color: lightgreen; }
</style>

<script type="text/javascript">
function boom()
{
  document.getElementById("div").className = "anything";
}
</script>
</head>

<body onload="boom()">

<div id="div"><span style="color: magenta">Foo</span> bar</div>

</body>
</html>