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 <title>outline goes around overflow, floats</title>
3 <style>
5 html, body { margin: 0; padding: 0; border: none }
6 html { overflow:hidden /* avoid second reflow for scrollbars */ }
8 body > div { margin: 100px; outline: 2px solid blue; position: relative }
10 body > div > div { position: absolute; top: 0; left: 0; width: 100px; height: 100px }
12 </style>
13 <body>
14 <div><div></div></div>