Bug 1416620 - Part2. Add a reftest for button border with inset shadow and empty border. r=kats
MozReview-Commit-ID: Jr3rm6fpgg8
new file mode 100644
--- /dev/null
+++ b/gfx/tests/reftest/1416620-1-ref.html
@@ -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>
new file mode 100644
--- /dev/null
+++ b/gfx/tests/reftest/1416620-1.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>
--- a/gfx/tests/reftest/reftest.list
+++ b/gfx/tests/reftest/reftest.list
@@ -2,8 +2,9 @@
== 468496-1.html 468496-1-ref.html
fuzzy(175,443) skip-if(styloVsGecko) == 611498-1.html 611498-ref.html
fuzzy-if(Android,8,1000) == 709477-1.html 709477-1-ref.html
skip-if(!asyncPan) == 1086723.html 1086723-ref.html
== 853889-1.html 853889-1-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