зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1416620 - Part2. Add a reftest for button border with inset shadow and empty border. r=kats
MozReview-Commit-ID: Jr3rm6fpgg8 --HG-- extra : rebase_source : 934fe71290ea4f51163b776efb559e0de72a0ae9
This commit is contained in:
Родитель
81075981f6
Коммит
58b09d8e57
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 1416620</title>
|
||||
<style>
|
||||
#a, #b {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
-moz-appearance: none;
|
||||
box-shadow: inset 4px 4px 30px black;
|
||||
border: none;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#a {
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
#b {
|
||||
top: 170px;
|
||||
left: 20px;
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="a"> </div>
|
||||
<div id="b"> </div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase for bug 1416620</title>
|
||||
<style>
|
||||
#a, #b {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: green;
|
||||
box-shadow: inset 4px 4px 30px black;
|
||||
border-style: solid;
|
||||
border-width: 0;
|
||||
border-color: red;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
#a {
|
||||
top: 20px;
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
#b {
|
||||
top: 170px;
|
||||
left: 20px;
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input type="button" id="a" value=""></input>
|
||||
<button id="b"></button>
|
||||
</body>
|
||||
</html>
|
|
@ -7,3 +7,4 @@ skip-if(!asyncPan) == 1086723.html 1086723-ref.html
|
|||
skip-if(Android) fuzzy-if(skiaContent,1,587) == 1143303-1.svg pass.svg
|
||||
fuzzy(100,30) == 1149923.html 1149923-ref.html # use fuzzy due to few distorted pixels caused by border-radius
|
||||
== 1131264-1.svg pass.svg
|
||||
== 1416620-1.html 1416620-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче