Bug 939607 - Part 4: Add test for box-shadow with opacity. r=roc
authorMatt Woodrow <mwoodrow@mozilla.com>
Mon, 18 Nov 2013 22:32:09 +1300
changeset 170675 77836c897f3f6fc0cbc10744a1232049438f5670
parent 170674 b246e0435b0fca8582bb7e78429079b8acc5b854
child 170676 fe2eb1dbf2ac9a1e8c4483419c0faa7a41ac7cb8
push id3224
push userlsblakk@mozilla.com
push dateTue, 04 Feb 2014 01:06:49 +0000
treeherdermozilla-beta@60c04d0987f1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs939607
milestone28.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 939607 - Part 4: Add test for box-shadow with opacity. r=roc
layout/reftests/box-shadow/boxshadow-opacity-ref.html
layout/reftests/box-shadow/boxshadow-opacity.html
layout/reftests/box-shadow/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/boxshadow-opacity-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<style>
+body {
+  background-color: green;
+}
+
+#thediv {
+  width: 300px;
+  height: 100px;
+  position: absolute;
+  top: 20px;
+  left: 20px;
+  opacity: 0.6;
+  box-shadow: 3px 3px 2px rgb(255,0,0);
+}
+</style>
+
+<div id="thediv"></div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/boxshadow-opacity.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<style>
+body {
+  background-color: green;
+}
+
+#thediv {
+  width: 300px;
+  height: 100px;
+  position: absolute;
+  top: 20px;
+  left: 20px;
+  box-shadow: 3px 3px 2px rgba(255,0,0,0.6);
+}
+</style>
+
+<div id="thediv"></div>
--- a/layout/reftests/box-shadow/reftest.list
+++ b/layout/reftests/box-shadow/reftest.list
@@ -14,15 +14,16 @@ fails-if(Android) == boxshadow-fileuploa
 == boxshadow-inner-basic.html boxshadow-inner-basic-ref.svg
 random-if(layersGPUAccelerated) == boxshadow-mixed.html boxshadow-mixed-ref.html
 random-if(d2d) == boxshadow-rounded-spread.html boxshadow-rounded-spread-ref.html
 HTTP(..) == boxshadow-dynamic.xul boxshadow-dynamic-ref.xul
 random-if(d2d) == boxshadow-onecorner.html boxshadow-onecorner-ref.html
 random-if(d2d) == boxshadow-twocorners.html boxshadow-twocorners-ref.html
 random-if(d2d) == boxshadow-threecorners.html boxshadow-threecorners-ref.html
 == boxshadow-skiprect.html boxshadow-skiprect-ref.html
+== boxshadow-opacity.html boxshadow-opacity-ref.html
 
 == overflow-not-scrollable-1.html overflow-not-scrollable-1-ref.html
 == overflow-not-scrollable-1.html overflow-not-scrollable-1-ref2.html
 == overflow-not-scrollable-2.html overflow-not-scrollable-2-ref.html
 fails-if(Android) == 611574-1.html 611574-1-ref.html
 fails-if(Android) == 611574-2.html 611574-2-ref.html
 fuzzy-if(winWidget,5,30) == fieldset.html fieldset-ref.html # minor anti-aliasing problem on Windows