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

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

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

mercurial