layout/reftests/counters/t1202-counter-16-f-test.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3  <head>
     4   <title>CSS 2.1 Test Suite: content: counter() error cases</title>
     5   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
     6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counter-styles"/>
     8   <style type="text/css">
    10   #test { counter-reset: c 0 f 1000; }
    11   #test span { counter-increment: c; }
    12   #test span:before {
    13     content: counter(c);
    14     content: counter(f, ".");
    15     content: counter(f, ".", decimal);
    16     content: counter(f, decimal, ".");
    17     content: counter(f, decimal, decimal);
    18     content: counter(f, unknowntype);
    19   }
    21   </style>
    22  </head>
    23  <body>
    25  <div id="test">
    26    <span></span>
    27    <span></span>
    28    <span></span>
    29    <span></span>
    30    <span></span>
    31    <span></span>
    32    <span></span>
    33    <span></span>
    34    <span></span>
    35    <span></span>
    36    <span></span>
    37    <span></span>
    38  </div>
    40  </body>
    41 </html>

mercurial