layout/reftests/counters/t120403-display-none-00-c-test.html

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:6ee9cc91a366
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 properties on 'display: none' elements</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#q9"/>
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">
10
11 div { counter-reset: c }
12 #one { display: none; counter-increment: c }
13 #two:before { content: counter(c) }
14
15 </style>
16 </head>
17 <body>
18
19
20 <div><span id="one"></span><span id="two"></span></div>
21
22 </body>
23 </html>

mercurial