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 <html class="reftest-wait">
3 <head>
4 <title>menclose updiagonalarrow</title>
5 <meta charset="utf-8"/>
6 <script type="text/javascript">
7 function doTest()
8 {
9 var box = document.getElementById("box").getBoundingClientRect();
10 document.getElementById("path").setAttribute("d",
11 "M" + (box.left + "," + (box.height + box.top)) +
12 "L" + ((box.width + box.left) + "," + box.top));
13 document.documentElement.removeAttribute("class");
14 }
15 window.addEventListener("MozReftestInvalidate",doTest, false);
16 </script>
17 </head>
18 <body>
20 <div style="position: absolute; left: 20px; top: 20px;">
21 <math>
22 <mphantom>
23 <menclose id="box" notation="updiagonalarrow">
24 <mspace width="200px" height="100px"></mspace>
25 </menclose>
26 </mphantom>
27 </math>
28 </div>
30 <div style="position: absolute; left: 0px; top: 0px;">
31 <svg width="500px" height="500px">
32 <path id="path" style="fill: none; stroke-width: 11px; stroke: green; stroke-linecap: round; shape-rendering: crispEdges;"></path>
33 </svg>
34 </div>
36 </body>
37 </html>