layout/reftests/counters/counter-name-case-sensitive.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

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

mercurial