bug 484780 - need plugin reftest that tests alpha rendering of test plugin. r=josh

This commit is contained in:
Ted Mielczarek 2009-03-24 15:28:18 -04:00
parent dcc6c4d6b1
commit 1489650ca7
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,27 @@
<!doctype html>
<html>
<head>
<style type="text/css">
#one {
position:absolute;
left:0px; top:0px;
width:400px; height:400px;
background-color: rgb(0,255,0);
opacity:0.6;
z-index:1;
}
#two {
position:absolute;
top:100px; left:100px;
width:200px; height:200px;
z-index:0;
background-color: rgb(255,0,0);
}
</style>
</head>
<body>
<div id="two"></div>
<div id="one"></div>
</body>
</html>

View File

@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<style type="text/css">
#one {
position:absolute;
left:0px; top:0px;
z-index:1;
}
#two {
position:absolute;
top:100px; left:100px;
width:200px; height:200px;
z-index:0;
background-color: rgb(255,0,0);
}
</style>
</head>
<body>
<div id="two"></div>
<embed id="one" type="application/x-test" width="400" height="400" drawmode="solid" color="9900FF00"></embed>
</body>
</html>

View File

@ -1,3 +1,4 @@
# basic sanity checking
random-if(!haveTestPlugin||(MOZ_WIDGET_TOOLKIT!="cocoa"&&MOZ_WIDGET_TOOLKIT!="windows")) != plugin-sanity.html about:blank
fails-if(!haveTestPlugin||(MOZ_WIDGET_TOOLKIT!="cocoa"&&MOZ_WIDGET_TOOLKIT!="windows")) == plugin-sanity.html div-sanity.html
fails-if(!haveTestPlugin||(MOZ_WIDGET_TOOLKIT!="cocoa"&&MOZ_WIDGET_TOOLKIT!="windows")) == plugin-alpha-zindex.html div-alpha-zindex.html