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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/counters/t1204-order-00-c-test.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,44 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 + <head>
     1.7 +  <title>CSS 2.1 Test Suite: Order of 'counter-reset', 'counter-increment', and counter use, including pseudo-elements</title>
     1.8 +  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
     1.9 +  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
    1.10 +  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
    1.11 +  <style type="text/css">
    1.12 +
    1.13 +  span.c span:before { content: counter(c); }
    1.14 +  span.c { counter-reset: c 0; }
    1.15 +  span.one { counter-reset: c 1; }
    1.16 +  span.two { counter-increment: c 2; }
    1.17 +  span.four:before { counter-reset: c 4; }
    1.18 +  span.eight:before { counter-increment: c 8; }
    1.19 +  span.c span:after { counter-increment: c 100; counter-reset: c 200; }
    1.20 +
    1.21 +  </style>
    1.22 + </head>
    1.23 + <body>
    1.24 +
    1.25 +
    1.26 + <div>
    1.27 +   <span class="c"><span class=""></span></span>
    1.28 +   <span class="c"><span class="one"></span></span>
    1.29 +   <span class="c"><span class="two"></span></span>
    1.30 +   <span class="c"><span class="two one"></span></span>
    1.31 +   <span class="c"><span class="four"></span></span>
    1.32 +   <span class="c"><span class="four one"></span></span>
    1.33 +   <span class="c"><span class="four two"></span></span>
    1.34 +   <span class="c"><span class="four two one"></span></span>
    1.35 +   <span class="c"><span class="eight"></span></span>
    1.36 +   <span class="c"><span class="eight one"></span></span>
    1.37 +   <span class="c"><span class="eight two"></span></span>
    1.38 +   <span class="c"><span class="eight two one"></span></span>
    1.39 +   <span class="c"><span class="eight four"></span></span>
    1.40 +   <span class="c"><span class="eight four one"></span></span>
    1.41 +   <span class="c"><span class="eight four two"></span></span>
    1.42 +   <span class="c"><span class="eight four two one"></span></span>
    1.43 + </div>
    1.44 +
    1.45 +
    1.46 + </body>
    1.47 +</html>

mercurial