layout/reftests/counters/t120401-scope-04-d-test.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/counters/t120401-scope-04-d-test.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     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: Counter scope and nesting</title>
     1.8 +  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope"/>
     1.9 +  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
    1.10 +  <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
    1.11 +  <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
    1.12 +  <style type="text/css">
    1.13 +
    1.14 +  .reset { counter-reset: c; }
    1.15 +  .rb:before { counter-reset: c; content: "R"; }
    1.16 +  .use { counter-increment: c; }
    1.17 +  .use:before { content: counters(c, ".") " "; }
    1.18 +
    1.19 +  </style>
    1.20 + </head>
    1.21 + <body>
    1.22 +
    1.23 + <div><span class="reset"></span><span class="use"></span><span class="reset"></span><span class="use"></span><span class="rb"><span class="use"></span><span class="reset"></span><span class="use"></span></span></div>
    1.24 +
    1.25 + </body>
    1.26 +</html>

mercurial