layout/reftests/counters/t1204-root-e-test.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/counters/t1204-root-e-test.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     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: counters on the root element</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 +  html { counter-reset: c 0 c 4 c 0; counter-increment: c 1 c 3; }
    1.14 +  html:before { content: " "; counter-reset: c 9999; counter-increment: c 9999; }
    1.15 +  body { counter-reset: c 3; counter-increment: c 5; }
    1.16 +
    1.17 +  span.c:before { content: counters(c, "."); }
    1.18 +
    1.19 +  </style>
    1.20 + </head>
    1.21 + <body>
    1.22 +
    1.23 +
    1.24 + <div>
    1.25 +   <span class="c"></span>
    1.26 + </div>
    1.27 +
    1.28 +
    1.29 + </body>
    1.30 +</html>

mercurial