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 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Any copyright is dedicated to the Public Domain.
4 http://creativecommons.org/publicdomain/zero/1.0/
5 -->
6 <!-- Testcase with borders on flex items, and "direction: rtl" to reverse
7 the flex container's main axis. -->
8 <html xmlns="http://www.w3.org/1999/xhtml">
9 <head>
10 <title>CSS Test: Testing borders on flex items in a horizontal flex container with 'direction: rtl'</title>
11 <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
12 <link rel="help" href="http://www.w3.org/TR/css3-flexbox/#layout-algorithm"/>
13 <link rel="match" href="flexbox-mbp-horiz-1-reverse-ref.xhtml"/>
14 <style>
15 div { height: 100px; border: 0; }
16 div.flexbox {
17 width: 200px;
18 font-size: 10px;
19 display: flex;
20 direction: rtl;
21 }
22 div.a {
23 flex: 1 0 24px;
24 background: lightgreen;
25 border-style: dotted;
26 border-left-width: 2px;
27 border-right-width: 4px;
28 }
29 div.b {
30 flex: 2 0 10px;
31 background: yellow;
32 border-style: dashed;
33 border-left-width: 7px;
34 border-right-width: 3px;
35 }
36 div.c {
37 flex: 3 0 40px;
38 background: orange;
39 }
40 div.flexNone {
41 flex: none;
42 background: pink;
43 }
44 div.flexBasis {
45 flex: 0 0 20px;
46 background: gray;
47 }
48 div.spacer {
49 display: inline-block;
50 width: 15px;
51 height: 15px;
52 background: purple;
53 }
54 </style>
55 </head>
56 <body>
57 <div class="flexbox"><div class="a"></div><div class="b"/></div>
58 <div class="flexbox"><div class="a"/><div class="c"/></div>
59 <div class="flexbox"><div class="a"/>
60 <div class="flexNone"><div class="spacer"/></div>
61 </div>
62 <div class="flexbox"><div class="b"/><div class="c"/></div>
63 <div class="flexbox"><div class="b"/>
64 <div class="flexNone"><div class="spacer"/><div class="spacer"/></div>
65 </div>
67 <div class="flexbox">
68 <div class="a"/><div class="b"/><div class="flexBasis"/><div class="c"/>
69 </div>
70 </body>
71 </html>