Add reftests for bug 98223. b=98223 r+sr=bzbarsky

This commit is contained in:
mats.palmgren%bredband.net 2007-02-27 06:17:52 +00:00
parent a1656bbf34
commit 64a11f002a
5 changed files with 112 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Testcase #1 for bug 98223</title>
<style type="text/css">
.outer { position:relative; padding-left:50px; height:100px; width:50px; border:thin solid;}
.inner { position:absolute; height:50px; width:50px; background-color:lime; }
</style>
</head>
<body>
<div style="position:absolute; width:200px">
<div class="outer">
<div class="inner"></div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,29 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Testcase #1 for bug 98223</title>
<style type="text/css">
.outer { position:relative; padding-left:25%; height:100px; width:50px; border:thin solid;}
.inner { position:absolute; height:50px; width:50px; background-color:lime; }
.red { position:absolute; height:50px; width:50px; background-color:red; top:0;right:0}
</style>
</head>
<body>
<div style="position:absolute; width:200px">
<div class="outer">
<div class="red"></div>
<div class="inner"></div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,26 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Testcase #2 for bug 98223</title>
<style type="text/css">
.outer { padding-left:150px; height:100px; width:50px; background: yellow; }
.inner { position:absolute; height:50px; width:50px; background-color:lime; }
</style>
</head>
<body>
<div style="position:absolute; width:200px">
<div class="outer">
<div class="inner"></div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Testcase #2 for bug 98223</title>
<style type="text/css">
.outer { padding-left:75%; height:100px; width:50px; background: yellow; }
.inner { position:absolute; height:50px; width:50px; background-color:lime; }
.red { position:absolute; height:50px; width:50px; background-color:red; top:0;right:0}
</style>
</head>
<body>
<div style="position:absolute; width:200px">
<div class="outer">
<div class="red"></div>
<div class="inner"></div>
</div>
</div>
</body>
</html>

View File

@ -49,6 +49,8 @@ random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-1a.html bugs/28811-1-ref.
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-1b.html bugs/28811-1-ref.html # bug 369040
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-2a.html bugs/28811-2-ref.html # bug 369040
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/28811-2b.html bugs/28811-2-ref.html # bug 369040
== bugs/98223-1.html bugs/98223-1-ref.html
== bugs/98223-2.html bugs/98223-2-ref.html
random-if(MOZ_WIDGET_TOOLKIT=="windows") == bugs/142233-1.html bugs/142233-1-ref.html # bug 369040
== bugs/163504-1a.html bugs/163504-1-ref.html
== bugs/163504-1b.html bugs/163504-1-ref.html