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><head>
3 <title>Circular border</title>
4 <style>
5 body { margin: 0 }
6 div {
7 margin-left: 8px; margin-top: 8px;
8 width: 50px; height: 50px;
9 border: 10px solid black;
10 border-radius: 10px;
11 }
12 div > div {
13 margin: 0; width: 50px; height: 50px;
14 border-radius: 0;
15 background: black;
16 border: none;
17 }
18 </style>
19 </head>
20 <body><div><div></div></div></body></html>