layout/reftests/counters/t1204-order-01-d-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.

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

mercurial