Bug 395130 reftests. Patch by Jesse and Boris.

This commit is contained in:
roc+@cs.cmu.edu 2007-09-18 16:26:57 -07:00
parent 57553c4e8a
commit a3e8f70e08
5 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<input class="a">
<input class="a">
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<style id="s">
.a { position: absolute; }
</style>
</head>
<body onload="document.getElementById('s').textContent = '';">
<input class="a">
<input class="a">
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<body><script>
window.onload = function() {
var a = document.createTextNode("a ");
var b = document.createElement("input");
var c = document.createTextNode(" c");
document.body.appendChild(a);
document.body.appendChild(b);
document.body.appendChild(c);
}
</script>
</body>
</html>

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<body><script>
window.onload = function() {
var a = document.createTextNode("a ");
var b = document.createElement("input");
var c = document.createTextNode(" c");
document.body.appendChild(a);
document.body.appendChild(c);
document.body.offsetWidth;
document.body.insertBefore(b, c);
}
</script>
</body>
</html>

View File

@ -379,4 +379,6 @@ random-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 379316-2.html 379316-2-ref.html # bug
== 394111-1.html about:blank # Really an assertion test rather than a rendering test
== 394534-1.html 394534-1-ref.html
== 394676-1.xhtml 394676-1-ref.xhtml
== 395130-1.html 395130-1-ref.html
== 395130-2.html 395130-2-ref.html
== 396286-1.html about:blank # crash test