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.
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>Tiny ugly fonts</title> |
michael@0 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
michael@0 | 6 | |
michael@0 | 7 | <style type="text/css"> |
michael@0 | 8 | |
michael@0 | 9 | body { |
michael@0 | 10 | margin: 50px; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | p, div { |
michael@0 | 14 | margin: 0; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | #test { |
michael@0 | 18 | font-size: 1px; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | #test p { |
michael@0 | 22 | font-size: 8.3%; |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | #f1 { font-family: Terminal; } |
michael@0 | 26 | #f2 { font-family: FixedSys; } |
michael@0 | 27 | #f3 { font-family: Script; } |
michael@0 | 28 | #f4 { font-family: Roman; } |
michael@0 | 29 | |
michael@0 | 30 | </style> |
michael@0 | 31 | |
michael@0 | 32 | </head> |
michael@0 | 33 | <body> |
michael@0 | 34 | |
michael@0 | 35 | <h4>No text should show below this line</h4> |
michael@0 | 36 | <div id="test"> |
michael@0 | 37 | <p id="f1">ugly font</p> |
michael@0 | 38 | <p id="f2">ugly font</p> |
michael@0 | 39 | <p id="f3">ugly font</p> |
michael@0 | 40 | <p id="f4">ugly font</p> |
michael@0 | 41 | </div> |
michael@0 | 42 | |
michael@0 | 43 | </body> |
michael@0 | 44 | </html> |