Reftest for bug 437722; r=roc

This commit is contained in:
Ehsan Akhgari 2011-10-07 09:37:03 -04:00
parent 0602bff26b
commit 406f6dd4bc
5 changed files with 122 additions and 0 deletions

View File

@ -0,0 +1,28 @@
<!doctype html>
<html>
<head>
<style>
.outer {
position:relative;
left:0px;
top:0px;
width:
200px;
height:100px;
border:none;
background:#00ff00;
}
.inner {
position:absolute;
left:0px;
top:0px;
width:50px;
height:50px;
background:#ff0000;
}
</style>
</head>
<body>
<div class=outer><div class=inner></div></div>
</body>
</html>

View File

@ -0,0 +1,29 @@
<!doctype html>
<html>
<head>
<style>
button {
position:relative;
left:0px;
top:0px;
width:
200px;
height:100px;
border:none;
background:#00ff00;
-moz-appearance: none;
}
div {
position:absolute;
left:0px;
top:0px;
width:50px;
height:50px;
background:#ff0000;
}
</style>
</head>
<body>
<button><div></div></button>
</body>
</html>

View File

@ -0,0 +1,31 @@
<!doctype html>
<html>
<head>
<style>
div {
position:relative;
padding:0;
background:green;
width: 200px;
height: 100px;
border:none;
text-align: left;
font: 12px serif;
}
div span {
display:block;
position:absolute;
right:0;
top:0;
width:10px;
height:100%;
background:red;
}
</style>
</head>
<body>
<div>
<span></span>
</div>
</body>
</html>

View File

@ -0,0 +1,32 @@
<!doctype html>
<html>
<head>
<style>
button {
position:relative;
padding:0;
background:green;
width: 200px;
height: 100px;
border:none;
text-align: left;
font: 12px serif;
-moz-appearance: none;
}
button span {
display:block;
position:absolute;
right:0;
top:0;
width:10px;
height:100%;
background:red;
}
</style>
</head>
<body>
<button>
<span></span>
</button>
</body>
</html>

View File

@ -14,3 +14,5 @@
== select-2.html select-2-ref.html
== select-3.html select-3-ref.html
== multi-column-1.html multi-column-1-ref.html
== button-1.html button-1-ref.html
== button-2.html button-2-ref.html