layout/reftests/counters/t1204-multiple-01-c-test.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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 PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3  <head>
     4   <title>CSS 2.1 Test Suite: Multiple increments and resets</title>
     5   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
     6   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
     7   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     8   <style type="text/css">
    10   body { counter-reset: one 7 two -2; }
    11   #one:before { counter-increment: one -6; content: counter(one) }
    12   #two:before { counter-increment: dummy two 7 two two -4 silly 7; content: counter(two) }
    14   </style>
    15  </head>
    16  <body>
    19  <div><span id="one"></span><span id="two"></span></div>
    21  </body>
    22 </html>

mercurial