Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t120403-display-none-00-c.html
blob32e882bf94415970cceeb22a936c7d4ae31dbb23
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
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">
11 body { white-space: nowrap; }
14 div { counter-reset: c }
15 #one { display: none; counter-increment: c }
16 #two:before { content: counter(c) }
18 </style>
19 </head>
20 <body>
22 <p>The following should be identical:</p>
24 <div><span id="one"></span><span id="two"></span></div>
25 <div>0</div>
27 </body>
28 </html>