Add reftest

git-svn-id: svn://10.0.0.236/trunk@241390 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jruderman%hmc.edu 2007-12-15 23:14:50 +00:00
parent 0583272ba2
commit 7045d23011
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