Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code --- reftest.
authorMichael Ventnor <ventnor.bugzilla@gmail.com>
Wed, 28 Jan 2009 22:28:40 +1300
changeset 23444 80a57a22c96745ef836f46cc67024522742101bd
parent 23443 8be6f1f1bb3cded4518acd0677aa600d780c9657
child 23445 23adc0bc597d8fea598f521de437fa62dcd69405
push id778
push userrocallahan@mozilla.com
push dateThu, 26 Feb 2009 09:56:42 +0000
bugs475197
milestone1.9.1b3pre
Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code --- reftest.
layout/reftests/box-shadow/boxshadow-button-ref.html
layout/reftests/box-shadow/boxshadow-button.html
layout/reftests/box-shadow/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/boxshadow-button-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<style>
+#a, #b {
+  width: 100px;
+  height: 100px;
+  background-color: grey;
+  -moz-appearance: none;
+  -moz-box-shadow: 4px 4px 4px black;
+  border: none !important;
+  position: absolute;
+}
+
+#a {
+  top: 20px;
+  left: 20px;
+}
+
+#b {
+  top: 170px;
+  left: 20px;
+</style>
+
+<div id="a">&nbsp;</div>
+<div id="b">&nbsp;</div>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/box-shadow/boxshadow-button.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<style>
+#a, #b {
+  width: 100px;
+  height: 100px;
+  background-color: grey;
+  -moz-appearance: none;
+  -moz-box-shadow: 4px 4px 4px black;
+  border: none !important;
+  position: absolute;
+}
+
+#a {
+  top: 20px;
+  left: 20px;
+}
+
+#b {
+  top: 170px;
+  left: 20px;
+</style>
+
+<input type="button" id="a" value=""></input>
+<button id="b"></button>
--- a/layout/reftests/box-shadow/reftest.list
+++ b/layout/reftests/box-shadow/reftest.list
@@ -1,8 +1,9 @@
 == boxshadow-basic.html boxshadow-basic-ref.html
 != boxshadow-blur.html boxshadow-blur-notref.html
 == boxshadow-multiple.html boxshadow-multiple-ref.html
 == boxshadow-spread.html boxshadow-spread-ref.html
 == tableboxshadow-basic.html tableboxshadow-basic-ref.html
 == tableboxshadow-trshadow.html tableboxshadow-trshadow-ref.html
 == tableboxshadow-tdshadow.html tableboxshadow-tdshadow-ref.html
 == boxshadow-rounding.html boxshadow-rounding-ref.html
+== boxshadow-button.html boxshadow-button-ref.html