Bug 395130 reftests. Patch by Jesse and Boris.

git-svn-id: svn://10.0.0.236/trunk@236260 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2007-09-18 23:26:57 +00:00
parent 6302b6e47b
commit 9a8bac29cb
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