gecko/layout/reftests/table-anonymous-boxes/white-space-pre-1.html
Boris Zbarsky 307ccebf4c Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00

18 lines
582 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
#x:after { content: " cd"; display: table-cell; }
</style>
<script>
function doTest() {
var f = document.getElementById("f");
f.parentNode.removeChild(f);
}
</script>
</head>
<body onload="doTest()">
<div style="font-family: monospace; width: 10em; white-space: pre-wrap"><span id="f" style="float: left; width: 80%; height: 0.5em"></span><span id="x">a <script>document.body.offsetWidth; dump('aa');</script> <span style="display: table-cell">b</span></span></div>
</body>
</html>