layout/reftests/counters/t1204-order-00-c-test.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
michael@0 2 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 3 <head>
michael@0 4 <title>CSS 2.1 Test Suite: Order of 'counter-reset', 'counter-increment', and counter use, including pseudo-elements</title>
michael@0 5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
michael@0 6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
michael@0 7 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
michael@0 8 <style type="text/css">
michael@0 9
michael@0 10 span.c span:before { content: counter(c); }
michael@0 11 span.c { counter-reset: c 0; }
michael@0 12 span.one { counter-reset: c 1; }
michael@0 13 span.two { counter-increment: c 2; }
michael@0 14 span.four:before { counter-reset: c 4; }
michael@0 15 span.eight:before { counter-increment: c 8; }
michael@0 16 span.c span:after { counter-increment: c 100; counter-reset: c 200; }
michael@0 17
michael@0 18 </style>
michael@0 19 </head>
michael@0 20 <body>
michael@0 21
michael@0 22
michael@0 23 <div>
michael@0 24 <span class="c"><span class=""></span></span>
michael@0 25 <span class="c"><span class="one"></span></span>
michael@0 26 <span class="c"><span class="two"></span></span>
michael@0 27 <span class="c"><span class="two one"></span></span>
michael@0 28 <span class="c"><span class="four"></span></span>
michael@0 29 <span class="c"><span class="four one"></span></span>
michael@0 30 <span class="c"><span class="four two"></span></span>
michael@0 31 <span class="c"><span class="four two one"></span></span>
michael@0 32 <span class="c"><span class="eight"></span></span>
michael@0 33 <span class="c"><span class="eight one"></span></span>
michael@0 34 <span class="c"><span class="eight two"></span></span>
michael@0 35 <span class="c"><span class="eight two one"></span></span>
michael@0 36 <span class="c"><span class="eight four"></span></span>
michael@0 37 <span class="c"><span class="eight four one"></span></span>
michael@0 38 <span class="c"><span class="eight four two"></span></span>
michael@0 39 <span class="c"><span class="eight four two one"></span></span>
michael@0 40 </div>
michael@0 41
michael@0 42
michael@0 43 </body>
michael@0 44 </html>

mercurial