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 <!DOCTYPE html>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/licenses/publicdomain/
5 -->
6 <html>
7 <head>
8 <title>Testcases: -moz-image-rect() [bug 113577]</title>
9 <style>
10 div.wrapper {
11 width: 32px;
12 height: 32px;
13 margin: 10px;
14 background-color: red;
15 }
16 #test1 {
17 width: 32px;
18 height: 32px;
19 background-color: #00ff00;
20 }
21 #test2 {
22 width: 16px;
23 height: 16px;
24 background-color: #00ff00;
25 }
26 #test3 {
27 width: 32px;
28 height: 16px;
29 background-image: url('green-16x16-in-blue-32x32.png');
30 }
31 #test4 {
32 width: 16px;
33 height: 16px;
34 background-color: #00ff00;
35 }
36 #test5 {
37 width: 32px;
38 height: 32px;
39 background-color: #00ff00;
40 }
41 </style>
42 </head>
43 <body>
44 <div class="wrapper"><div id="test1"></div></div>
45 <div class="wrapper"><div id="test2"></div></div>
46 <div class="wrapper"><div id="test3"></div></div>
47 <div class="wrapper"><div id="test4"></div></div>
48 <div class="wrapper"><div id="test5"></div></div>
49 </body>
50 </html>