Bug 475197. -moz-box-shadow needs to be hooked up to buttons and fieldsets since they have custom background painting code --- reftest.

This commit is contained in:
Michael Ventnor 2009-01-28 22:28:40 +13:00
parent c3c3f9d0be
commit 87b6e1a986
3 changed files with 49 additions and 0 deletions

View File

@ -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>

View File

@ -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>

View File

@ -6,3 +6,4 @@
== 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