blob: 73b6c8cac9959f0e96f7bfbea3170a71fd151ec5 [file] [log] [blame]
<style>
#el0 {
visibility: collapse;
}
#el1::first-letter {
height: 1;
</style>
<script>
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.waitUntilDone();
}
function crash(){
el0=document.createElement('div')
document.body.appendChild(el0)
el0.setAttribute('id','el0')
el1=document.createElement('div')
document.body.appendChild(el1)
el1.setAttribute('id','el1')
el0.appendChild(document.createTextNode(unescape(Array(40).join('A')+'%ufed5')));
el1.appendChild(document.createTextNode(unescape('A%u074b')));
document.body.offsetTop;
setTimeout(function () {
document.body.innerHTML = "PASS. WebKit didn't crash.";
layoutTestController.notifyDone();
}, 0);
}
window.scrollTop;
window.onload=crash
</script>