summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/379799-1.html
blob: 314744f78660b9ffcd9f109c417cf22bf08c8f27 (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 id="firstLetterSheet">
  .fl:first-letter { }
</style>

<style id="emptySheet">
</style>

<script>

function boom()
{
  document.getElementById("firstLetterSheet").textContent = "";
  document.getElementById("emptySheet").textContent = ".aft:after { content: counter(chicken); }";
}

</script>

</head>

<body onload="boom()">

<div class="fl">Foo <span class="aft">Bar</span></div>

<p class="aft">Baz</p>

</body>
</html>