Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t0510-c25-pseudo-elmnt-00-c.html
blobc26e3d22a55b90184e936f141eaadd71b635cd86
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Pseudo-elements in Selectors</title>
5 <style type="text/css">
6 .test { color: red; }
7 p:first-line { background: green; }
8 p.test:first-line { color: white; }
9 p:first-line.two { color: yellow; background: red; }
10 </style>
11 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#pseudo-elements" title="5.10 Pseudo-elements and pseudo-classes">
12 <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" title="5.12.1 The :first-line pseudo-element">
13 </head>
14 <body>
15 <div>There should be two lines of text below.</div>
16 <p class="test one"> This line should be white on green. </p>
17 <p class="test two"> This line should be white on green. </p>
18 </body>
19 </html>