t1204-order-01-d-reference.html (1422B)
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"> 9 10 ul { display: block; margin: 0; padding: 0; } 11 li, div { display: block; margin: 0; padding: 0; 12 width: 3em; border: thin solid; } 13 14 #four { border: none; } 15 16 #two { float: left; } 17 #three { position: relative; } 18 #four { position: relative; } 19 #four div { position: absolute; left: 8em; } 20 #six { position: absolute; top: 5em; left: 12em; } 21 #eight { position: fixed; top: 8em; left: 4em; } 22 23 </style> 24 </head> 25 <body> 26 27 <p>The number pairs (same digit repeated twice) "11" through "44" 28 should appear on this page.</p> 29 30 <ul> 31 <li id="one"><span>1</span>1</li> 32 <li id="two"><span>2</span>2</li> 33 <li id="three"><span>3</span>3</li> 34 <li id="four"><div><span>4</span>4</div></li> 35 <li id="five"><span>5</span>5</li> 36 <li id="six"><span>6</span>6</li> 37 <li id="seven"><span>7</span>7</li> 38 <li id="eight"><span>8</span>8</li> 39 <li id="nine"><span>9</span>9</li> 40 </ul> 41 42 </body> 43 </html>