Add reftests.

This commit is contained in:
jruderman@hmc.edu 2008-02-19 23:16:56 -08:00
parent 2b676caa55
commit cdb1fc399e
5 changed files with 44 additions and 1 deletions

View File

@ -0,0 +1,13 @@
<html>
<head>
</head>
<body>
<h3 id="h3">Header</h3>
<div>Div</div>
</body>
</html>

View File

@ -0,0 +1,18 @@
<html>
<head>
</head>
<body>
<h3 id="h3"></h3>
<div>Div</div>
<script>
document.documentElement.offsetHeight;
n = document.getElementById("h3");
n.appendChild(document.createTextNode("Header"));
</script>
</body>
</html>

View File

@ -0,0 +1,3 @@
<html>
<body> <p>Foo</p></body>
</html>

View File

@ -0,0 +1,7 @@
<html>
<body>XXX<p>Foo</p></body>
<script>
document.body.offsetWidth;
document.body.firstChild.data = ' ';
</script>
</html>

View File

@ -463,9 +463,11 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 368020-5.html 368020-5-ref.html # bug 3
== 371925-1a.html 371925-1-ref.html
== 371925-1b.html 371925-1-ref.html
== 372037-1.html 372037-1-ref.html
== 372553-1.html 372553-1-ref.html
== 372323-1.xhtml 372323-1-ref.xhtml
== 372553-1.html 372553-1-ref.html
== 372632-1.html 372632-1-ref.html
== 373295-1.html 373295-1-ref.html
== 373298-1.html 373298-1-ref.html
== 373381-1.html 373381-1-ref.html
== 375508-1.html 375508-1-ref.html
== 373433-1.html 373433-1-ref.html