Bug 939607 - Part 4: Add test for box-shadow with opacity. r=roc

This commit is contained in:
Matt Woodrow 2013-11-18 22:32:09 +13:00
parent dc67315f3f
commit 2c9a2472e1
3 changed files with 36 additions and 0 deletions

View File

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

View File

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

View File

@ -19,6 +19,7 @@ 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