element-removal-crash.xhtml 570 Bytes
Newer Older
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
<span xmlns="http://www.w3.org/1999/xhtml">
<span/>
<style>
    span 
    {
        counter-increment: counter;
    }
    span:before
    {
        content: counter(counter);
    }
</style>
<script>
    if (window.layoutTestController) 
    {
        layoutTestController.dumpAsText();
        layoutTestController.waitUntilDone();
    }

    function runTest()
    {
        document.documentElement.textContent = "PASS";

        if (window.layoutTestController)
            layoutTestController.notifyDone();
    }

    setTimeout('runTest()', 0);
</script>
<span/>