mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
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:
parent
c3c3f9d0be
commit
87b6e1a986
24
layout/reftests/box-shadow/boxshadow-button-ref.html
Normal file
24
layout/reftests/box-shadow/boxshadow-button-ref.html
Normal 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"> </div>
|
||||
<div id="b"> </div>
|
24
layout/reftests/box-shadow/boxshadow-button.html
Normal file
24
layout/reftests/box-shadow/boxshadow-button.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user