Reftests for bug 383883 and dependencies

This commit is contained in:
sharparrow1@yahoo.com 2007-08-20 13:26:55 -07:00
parent ded759b0cc
commit f8cf4b7897
15 changed files with 187 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a { width: 15em; border: 1px solid black; }
#b { float: right; width: 8em; height: 3em; background: #ccc; }
</style>
</head>
<body>
<div id="a">
<div id="b">float right</div>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<div>Long text long text long text long text long text long text long text long text long text long text long text long text long text</div>
</div>
</body>
</html>

View File

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a { width: 15em; border: 1px solid black; }
#b { float: right; width: 8em; height: 3em; background: #ccc; }
</style>
</head>
<body>
<div id="a">
<div id="b">float right</div>
<div>Long text long text long text long text long text long text long text long text long text long text long text long text long text</div>
</div>
<script>
var longWord = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
document.body.offsetWidth;
n = document.getElementById("b").nextSibling;
n.data = longWord + n.data;
</script>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<body>
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div id=a style="border-top: solid 0px">
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange; position:relative;"></div>
</div>
<div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>
<div id=rand style="height:1px"></div>
</div>

View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<body onload="document.getElementById('a').style.borderTopWidth=0;document.getElementById('rand').style.height='1px';">
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div id=a style="border-top: solid 50px">
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange; position:relative;"></div>
</div>
<div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>
<div id=rand></div>
</div>

View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<body>
<div style="float:left; width:0; height:60px"></div>
<div style="background: red; float: right; height: 50px; width: 20px; clear:left"></div>
<div id="a" style="border-top: solid 0px;">
<div id="b" style="border: solid orange; float: left; clear: right; width: 100px; height: 100px; position: relative;"></div>
</div>
<div>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
<div id=rand style="height:1px"></div>
</div>

View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<body onload="document.getElementById('a').style.borderTopWidth=0;document.getElementById('rand').style.height='1px';">
<div style="float:left; width:0; height:60px"></div>
<div style="background: red; float: right; height: 50px; width: 20px; clear:left"></div>
<div id="a" style="border-top: solid 50px;">
<div id="b" style="border: solid orange; float: left; clear: right; width: 100px; height: 100px; position: relative;"></div>
</div>
<div>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
<div id=rand></div>
</div>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<body>
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div id=a style="border-top: solid 0px">
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange; position:relative;"></div>
</div>
<div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>
</div>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<body onload="document.getElementById('a').style.borderTopWidth=0;">
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div id=a style="border-top: solid 50px">
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange; position:relative;"></div>
</div>
<div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>
</div>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<body>
<div style="float:left; width:0; height:60px"></div>
<div style="background: red; float: right; height: 50px; width: 20px; clear:left"></div>
<div id="a" style="border-top: solid 0px;">
<div id="b" style="border: solid orange; float: left; clear: right; width: 100px; height: 100px; position: relative;"></div>
</div>
<div>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
</div>

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<body onload="document.getElementById('a').style.borderTopWidth=0;">
<div style="float:left; width:0; height:60px"></div>
<div style="background: red; float: right; height: 50px; width: 20px; clear:left"></div>
<div id="a" style="border-top: solid 50px;">
<div id="b" style="border: solid orange; float: left; clear: right; width: 100px; height: 100px; position: relative;"></div>
</div>
<div>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
asdf<br>
</div>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<body>
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div id=a style="border-top: solid 0px"></div>
<div>
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange; position:relative;"></div>
</div>
<div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>

View File

@ -0,0 +1,9 @@
<!DOCTYPE html>
<body onload="document.getElementById('a').style.borderTopWidth=0;">
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div id=a style="border-top: solid 50px"></div>
<div>
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange; position:relative;"></div>
</div>
<div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<body>
<div style="float:left; width:10px; height:500px; background:blue"></div>
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div><span id=a style="display:none">a<br></span>
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange;"></div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf

View File

@ -0,0 +1,7 @@
<!DOCTYPE html>
<body onload="document.getElementById('a').style.display='none';">
<div style="float:left; width:10px; height:500px; background:blue"></div>
<div style="float:right; height: 50px; width: 20px; background: red"></div>
<div><span id=a>a<br></span>
<div id=b style="float:left; clear: right; width: 100px; height:100px; border: solid orange;"></div>
asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf<br>asdf

View File

@ -299,6 +299,7 @@ fails == 368504-2.html 368504-2-ref.html # bug 368504
== 373433-1.html 373433-1-ref.html
== 372062-1.html 372062-1-ref.html
== 372768-1.html 372768-1-ref.html
== 373383-1.html 373383-1-ref.html
== 374038-1.xul 374038-1-ref.xul
== 374038-2.xul 374038-2-ref.xul
== 374193-1.xhtml about:blank
@ -331,6 +332,12 @@ random-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 379316-2.html 379316-2-ref.html # bug
== 381507-1.html 381507-1-ref.html
== 382600-1.html 382600-1-ref.html
== 383551-1.html 383551-1-ref.html
== 383883-1.html 383883-1-ref.html
== 383883-2.html 383883-2-ref.html
== 383883-3.html 383883-3-ref.html
== 383883-4.html 383883-4-ref.html
== 383884-1.html 383884-1-ref.html
== 383885-1.html 383885-1-ref.html
== 384576-1.html 384576-1-ref.html
== 384762-1.html about:blank
== 384876-1.html 384876-1-ref.html