mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
bug 484780 - need plugin reftest that tests alpha rendering of test plugin. r=josh
This commit is contained in:
parent
dcc6c4d6b1
commit
1489650ca7
27
modules/plugin/test/reftest/div-alpha-zindex.html
Normal file
27
modules/plugin/test/reftest/div-alpha-zindex.html
Normal 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>
|
||||
|
24
modules/plugin/test/reftest/plugin-alpha-zindex.html
Normal file
24
modules/plugin/test/reftest/plugin-alpha-zindex.html
Normal 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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user