gecko/layout/reftests/first-line/stress-4.html
bzbarsky@mit.edu b9565e9e9d Fixing test
2007-11-07 09:54:14 -08:00

29 lines
585 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
#a:first-child::first-line { }
body { visibility: hidden; }
</style>
<script>
function runTest() {
document.getElementById("a").removeAttribute('style');
document.body.offsetWidth;
document.documentElement.className = "";
}
</script>
</head><body onload="runTest()">
<div style="position:absolute;">
<span id="a" style="position:fixed;">
<span>
<span style="display:table;position:absolute;">
</span>
</span>
Loading this should not crash Mozilla
</span>
</div>
</body></html>