Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats
MozReview-Commit-ID: 1lSu2phlXVH
new file mode 100644
--- /dev/null
+++ b/gfx/tests/reftest/1429411-ref.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset="utf-8">
+<style>
+
+.outer {
+ position: absolute;
+ width: 200px;
+ height: 150px;
+ overflow: hidden;
+}
+.inner {
+ position: absolute;
+ top: 3px;
+ left: 3px;
+ width: 200px;
+ height: 150px;
+ box-shadow: blue 0px 0px 20px inset;
+}
+
+</style>
+
+<div class="outer">
+<div class="inner"></div>
+</div>
new file mode 100644
--- /dev/null
+++ b/gfx/tests/reftest/1429411.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset="utf-8">
+<style>
+
+.outer {
+ position: absolute;
+ margin-top: 3px;
+ margin-left: 3px;
+ width: 200px;
+ height: 150px;
+ overflow: hidden;
+}
+.inner {
+ position: absolute;
+ margin-top: -3px;
+ margin-left: -3px;
+ width: 200px;
+ height: 150px;
+ box-shadow: blue 3px 3px 20px inset;
+}
+
+</style>
+
+<div class="outer">
+<div class="inner"></div>
+</div>
--- a/gfx/tests/reftest/reftest.list
+++ b/gfx/tests/reftest/reftest.list
@@ -3,8 +3,9 @@
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
== 1424673.html 1424673-ref.html
+== 1429411.html 1429411-ref.html