Add reftest

This commit is contained in:
jruderman@hmc.edu 2007-12-15 15:14:50 -08:00
parent cfe28c059b
commit f1cc622835
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<html>
<head>
<style>
span#dd:before {
display: inline;
white-space: pre;
content: "bef-\Aore";
color: gray;
}
</style>
</head>
<body>
<span id="dd">new<div id="div">div</div></span>
</body>
</html>

View File

@ -0,0 +1,24 @@
<html>
<head>
<style>
span#dd:before {
display: inline; white-space: pre; content: "bef-\Aore";
color: gray; }
</style>
<script>
function boo()
{
var div = document.getElementById("div");
var dd = document.getElementById("dd");
var newTextNode = document.createTextNode("new");
dd.insertBefore(newTextNode, div);
}
window.addEventListener("load", boo, false);
</script>
</head>
<body>
<span id="dd"><div id="div">div</div></span>
</body>
</html>

View File

@ -173,6 +173,7 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 333970-1.html 333970-1-ref.html # bug 3
== 339289-1.html 339289-1-ref.html
== 341043-1a.html 341043-1-ref.html
!= 341043-1b.html 341043-1-ref.html
== 343540-1.html 343540-1-ref.html
== 345267-1a.html 345267-1-ref.html
== 345267-1b.html 345267-1-ref.html
== 345267-1c.html 345267-1-ref.html