layout/reftests/counters/t120401-scope-00-b-test.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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: Counter scope</title>
     5   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#scope"/>
     6   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
     7   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
     8   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     9   <style type="text/css">
    11   .scope { counter-reset: c 1; }
    12   .scope:before, .scope:after { content: counter(c); }
    13   .c:before { content: counter(c); }
    15   .one:before { counter-reset: c 2; }
    16   .two { counter-reset: c 3; }
    18   </style>
    19  </head>
    20  <body>
    22  <div>
    23    <span class="scope"><span class="one c"><span class="c"></span></span><span class="c"></span></span><span class="c"></span>
    24    <span class="scope"><span class="two c"><span class="c"></span></span><span class="c"></span></span><span class="c"></span>
    25  </div>
    28  </body>
    29 </html>

mercurial