mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Reftest for bug 437722; r=roc
This commit is contained in:
parent
0602bff26b
commit
406f6dd4bc
28
layout/reftests/abs-pos/button-1-ref.html
Normal file
28
layout/reftests/abs-pos/button-1-ref.html
Normal 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>
|
29
layout/reftests/abs-pos/button-1.html
Normal file
29
layout/reftests/abs-pos/button-1.html
Normal 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>
|
31
layout/reftests/abs-pos/button-2-ref.html
Normal file
31
layout/reftests/abs-pos/button-2-ref.html
Normal 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>
|
32
layout/reftests/abs-pos/button-2.html
Normal file
32
layout/reftests/abs-pos/button-2.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user