layout/reftests/counters/t120403-visibility-00-c-test.html

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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: Counter properties on 'visibility: hidden' elements</title>
     5   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#q9"/>
     6   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
     7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
     8   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     9   <style type="text/css">
    11   div { counter-reset: c }
    12   #one { visibility: hidden; counter-increment: c }
    13   #two:before { content: counter(c) }
    15   </style>
    16  </head>
    17  <body>
    20  <div><span id="one"></span><span id="two"></span></div>
    22  </body>
    23 </html>

mercurial