Sat, 03 Jan 2015 20:18:00 +0100
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 <title>Test for intrinsic widths and text-indent</title>
5 <style type="text/css">
7 body { font-size: 12px; }
9 body > div, body > pre {
10 float: left; clear: left; margin: 1px; height: 2em;
11 border: medium solid;
12 }
14 </style>
15 </head>
16 <body>
18 <div style="width: 0"></div>
19 <div style="width: 2em"></div>
20 <div style="width: 0"></div>
21 <div style="width: 1em"></div>
22 <div style="width: 3em"></div>
23 <div style="width: 3em"></div>
24 <div style="width: 1em"></div>
25 <div style="width: 2em"></div>
26 <div style="width: 5em"></div>
27 <div style="width: 2em"></div>
29 </body>
30 </html>