Thu, 15 Jan 2015 15:59:08 +0100
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 <!--
2 Any copyright is dedicated to the Public Domain.
3 http://creativecommons.org/publicdomain/zero/1.0/
4 -->
5 <!DOCTYPE html>
6 <html>
7 <head>
8 <title>Color stop positioning for scaled gradients as backgrounds</title>
9 <style type="text/css">
10 #outer
11 {
12 border: 1px solid black;
13 width: 600px; height: 300px;
14 /* 250px stop is halfway along 500px diagonal */
15 background-image: -moz-linear-gradient(top left, lime 0%, teal 250px, black 100%);
16 background-image: linear-gradient(top left, lime 0%, teal 250px, black 100%);
17 background-size: 400px auto;
18 background-repeat: no-repeat;
19 }
20 </style>
21 </head>
22 <body>
23 <div id="outer"></div>
24 </body>
25 </html>