layout/reftests/counters/t1204-order-01-d-test.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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: Order of counters in out-of-flow content</title>
     5   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#counters"/>
     6   <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content"/>
     7   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#counter"/>
     8   <style type="text/css">
    10   ul { display: block; margin: 0; padding: 0; counter-reset: c; }
    11   li { counter-increment: c; }
    12   li, div { display: block; margin: 0; padding: 0;
    13             width: 3em; border: thin solid; }
    14   li:before, div:before { content: counter(c); }
    16   #four { border: none; }
    17   #four:before { content: ""; content: none; }
    19   #two { float: left; }
    20   #three { position: relative; }
    21   #four { position: relative; }
    22   #four div { position: absolute; left: 8em; }
    23   #six { position: absolute; top: 5em; left: 12em; }
    24   #eight { position: fixed; top: 8em; left: 4em; }
    26   </style>
    27  </head>
    28  <body>
    30  <p>The number pairs (same digit repeated twice) "11" through "44"
    31  should appear on this page.</p>
    33  <ul>
    34    <li id="one">1</li>
    35    <li id="two">2</li>
    36    <li id="three">3</li>
    37    <li id="four"><div>4</div></li>
    38    <li id="five">5</li>
    39    <li id="six">6</li>
    40    <li id="seven">7</li>
    41    <li id="eight">8</li>
    42    <li id="nine">9</li>
    43  </ul>
    45  </body>
    46 </html>

mercurial