layout/reftests/counters/t1202-counters-18-f-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.)

     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: counters() 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   body, #test { counter-reset: c 0 f 1000; }
    11   p, #test span { counter-increment: c; }
    12   #test span:before {
    13     content: counters(c, ".");
    14     content: counters(f);
    15     content: counters(f, decimal);
    16     content: counters(f, decimal, ".");
    17     content: counters(f, ".", decimal, decimal);
    18     content: counters(f, ".", decimal, ".");
    19     content: counters(f, ".", unknowntype);
    20   }
    22   </style>
    23  </head>
    24  <body>
    26  <p></p>
    28  <div id="test">
    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    <span></span>
    39    <span></span>
    40    <span></span>
    41  </div>
    44  </body>
    45 </html>

mercurial