gecko/layout/base/crashtests/379799-1.html
2007-12-15 16:59:33 -08:00

32 lines
493 B
HTML

<!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>