summaryrefslogtreecommitdiffstats
path: root/dom/plugins/test/reftest/div-alpha-opacity.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/plugins/test/reftest/div-alpha-opacity.html')
-rw-r--r--dom/plugins/test/reftest/div-alpha-opacity.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/dom/plugins/test/reftest/div-alpha-opacity.html b/dom/plugins/test/reftest/div-alpha-opacity.html
new file mode 100644
index 000000000..fec913b64
--- /dev/null
+++ b/dom/plugins/test/reftest/div-alpha-opacity.html
@@ -0,0 +1,28 @@
+<!doctype html>
+<html>
+<head>
+<style type="text/css">
+#one {
+ position:absolute;
+ left:0px; top:0px;
+ width:400px; height:400px;
+ border:2px solid blue;
+ background-color: rgb(160,160,160);
+ opacity:0.8;
+ 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>
+