mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Add reftests for bug 98223. b=98223 r+sr=bzbarsky
This commit is contained in:
parent
a1656bbf34
commit
64a11f002a
27
layout/reftests/bugs/98223-1-ref.html
Normal file
27
layout/reftests/bugs/98223-1-ref.html
Normal 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>
|
29
layout/reftests/bugs/98223-1.html
Normal file
29
layout/reftests/bugs/98223-1.html
Normal 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>
|
26
layout/reftests/bugs/98223-2-ref.html
Normal file
26
layout/reftests/bugs/98223-2-ref.html
Normal 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>
|
28
layout/reftests/bugs/98223-2.html
Normal file
28
layout/reftests/bugs/98223-2.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user