зеркало из https://github.com/mozilla/pjs.git
19 строки
639 B
HTML
19 строки
639 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<head>
|
|
<script>
|
|
function doTest() {
|
|
var t = document.getElementById("t");
|
|
var parent = t.parentNode;
|
|
parent.insertBefore(document.createTextNode(" "), t);
|
|
parent.insertBefore(document.createTextNode("bc"), t);
|
|
parent.insertBefore(document.createTextNode(" "), t);
|
|
document.documentElement.className = "";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="doTest()">
|
|
<span style="display:table-row; white-space: pre"><span style="display: table-cell">a</span><span id="t" style="display: table-cell">d</span></span>
|
|
</body>
|
|
</html>
|