layout/reftests/canvas/672646-alpha-radial-gradient-ref.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <!doctype html>
     2 <head>
     3   <style>
     4   body {
     5     background-color: blue;
     6   }
     7   </style>
     9 <body>
    10   <canvas id="mycanvas" width="200" height="200"></canvas>
    12   <script type="text/javascript">
    13   var cx = document.getElementById('mycanvas').getContext('2d');
    14   cx.beginPath();
    15   cx.arc(100, 100, 80, 0, Math.PI*2, true); 
    16   cx.closePath();
    17   cx.fillStyle = "white";
    18   cx.fill();
    19   </script>

mercurial