gecko/layout/reftests/first-line/stress-4.html

29 lines
585 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
#a:first-child::first-line { }
body { visibility: hidden; }
</style>
<script>
function runTest() {
2007-11-07 09:54:14 -08:00
document.getElementById("a").removeAttribute('style');
document.body.offsetWidth;
document.documentElement.className = "";
}
</script>
2007-11-07 09:54:14 -08:00
</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>