Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats draft
authorEthan Lin <ethlin@mozilla.com>
Mon, 15 Jan 2018 23:46:41 +0800
changeset 720420 62cf53200ec495db31a426dcb17f217ee2a5a1bd
parent 720309 a2caa828560e4d5c0080dd0eaca117d80947b2b3
child 746067 3e16e367b7b31d03e05574b74da17ac32a6e0d29
push id95547
push userbmo:ethlin@mozilla.com
push dateMon, 15 Jan 2018 15:47:00 +0000
reviewerskats
bugs1429411
milestone59.0a1
Bug 1429411 - Add a reftest for the inset box shadow problem. r=kats MozReview-Commit-ID: 1lSu2phlXVH
gfx/tests/reftest/1429411-ref.html
gfx/tests/reftest/1429411.html
gfx/tests/reftest/reftest.list
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