mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
28
layout/reftests/dom/insertmultiple.html
Normal file
28
layout/reftests/dom/insertmultiple.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<html class="reftest-wait">
|
||||
<head>
|
||||
|
||||
<script>
|
||||
function boom()
|
||||
{
|
||||
document.body.offsetHeight;
|
||||
|
||||
var lastdiv = document.getElementById("last");
|
||||
var parent = lastdiv.parentNode;
|
||||
|
||||
for (var i = 2; i <= 4; i++) {
|
||||
var newdiv = document.createElement("div");
|
||||
newdiv.appendChild(document.createTextNode(i));
|
||||
parent.insertBefore(newdiv, lastdiv);
|
||||
}
|
||||
|
||||
document.body.offsetHeight;
|
||||
document.documentElement.className = "";
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
<div>1</div>
|
||||
<div id="last">5</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue