blob: 8594bd9c359960483a31d8390e66de75063c6e02 [file] [log] [blame]
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<style>
#test::after { content:"after"; }
#test.change::after { content:counter(ctr); }
#test.change div { display: inline; }
</style>
<div id=test><div>This test passes if it does not crash.</div></div>
<script>
document.body.offsetWidth;
document.getElementById("test").className = "change";
</script>