dom/plugins/test/reftest/div-alpha-opacity.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!doctype html>
     2 <html>
     3 <head>
     4 <style type="text/css">
     5 #one {
     6   position:absolute;
     7   left:0px; top:0px;
     8   width:400px; height:400px;
     9   border:2px solid blue;
    10   background-color: rgb(160,160,160);
    11   opacity:0.8;
    12   z-index:1;
    13 }
    14 #two {
    15   position:absolute;
    16   top:100px; left:100px;
    17   width:200px; height:200px;
    18   z-index:0;
    19   background-color: rgb(255,0,0);
    20 }
    21 </style>
    22 </head>
    23 <body>
    24 <div id="two"></div>
    25 <div id="one"></div>
    26 </body>
    27 </html>

mercurial