gecko-dev/layout/reftests/table-anonymous-boxes/203923-1.html

23 строки
705 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<head>
<script type="text/javascript">
function doTest() {
var c = document.createElement("span");
c.style.display = "table-cell";
c.appendChild(document.createTextNode("bc"));
var t = document.getElementById("t");
t.parentNode.insertBefore(c, t);
document.documentElement.className = "";
}
</script>
</head>
<body onload="doTest()">
<span style="display: block">
<span style="display: table-cell">a</span>
<span style="display: table-cell; white-space: pre"> </span>
<span style="display: table-cell; white-space: pre" id="t"> </span>
<span style="display: table-cell">d</span>
</body>
</html>