2007-11-07 09:13:00 -08:00
|
|
|
<!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');
|
2007-11-07 09:13:00 -08:00
|
|
|
document.body.offsetWidth;
|
|
|
|
document.documentElement.className = "";
|
|
|
|
}
|
|
|
|
</script>
|
2007-11-07 09:54:14 -08:00
|
|
|
</head><body onload="runTest()">
|
2007-11-07 09:13:00 -08:00
|
|
|
|
|
|
|
<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>
|