pjs/layout/reftests/table-anonymous-boxes/203923-1.html

23 строки
705 B
HTML
Исходник Обычный вид История

2009-03-25 22:51:58 +03:00
<!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>