mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 13:45:27 +00:00
23 lines
705 B
HTML
23 lines
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>
|