layout/reftests/counters/counter-name-case-sensitive.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 HTML 4.01//EN"
     2 	"http://www.w3.org/TR/html4/strict.dtd">
     3 <html lang="en-US">
     4 <head>
     5 	<title>Test that counter names are case sensitive (bug 416106)</title>
     6 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     7 	<style type="text/css">
     9 	body { counter-reset: foo 0 Foo 5; }
    10 	div:before { content: counters(foo, ".") "-" counters(Foo, "."); }
    11 	div.a { counter-increment: foo; }
    12 	div.b { counter-increment: Foo 2; }
    14 	</style>
    15 </head>
    16 <body>
    18 <div class="a"></div>
    19 <div class="b"></div>
    20 <div></div>
    21 <div class="a"></div>
    22 <div class="b"></div>
    23 <div></div>
    25 </body>
    26 </html>

mercurial