gecko/layout/reftests/ib-split/insert-into-split-inline-16a.html

19 lines
433 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<style>
#i { border: 2px solid; }
#i::after { display: block; content: "Two"; }
</style>
<script>
function doTest() {
var i = document.getElementById("i");
i.insertBefore(document.createTextNode("One"), i.firstChild);
}
</script>
</head>
<body onload="doTest()">
<span id="i"><span style="display: none"></span></span>
</body>
</html>