summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/991046-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/991046-1.html')
-rw-r--r--layout/reftests/bugs/991046-1.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/bugs/991046-1.html b/layout/reftests/bugs/991046-1.html
new file mode 100644
index 0000000000..f12d8900d5
--- /dev/null
+++ b/layout/reftests/bugs/991046-1.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=windows-1252"><title>box-shadow + transparent background + opacity =&gt; overflow hidden does not work</title></head>
+<body>
+<style>
+#parent {
+ width: 200px;
+ height: 200px;
+ background-color: #BADA55;
+ overflow: hidden;
+ position: relative;
+}
+
+#child {
+ width: 200px;
+ height: 200px;
+ position: absolute;
+ left: 50px;
+ top: 50px;
+ box-shadow: 0 0 5px rgb(0,0,0);
+ opacity: 0.5;
+}
+</style>
+
+<div id="parent">
+ <div id="child"></div>
+</div>
+
+
+</body></html>