Git init
[framework/web/webkit-efl.git] / LayoutTests / css2.1 / t051202-c26-psudo-nest-00-c.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3  <head>
4   <title>CSS 2.1 Test Suite: Multiple Pseudo-Elements</title>
5   <style type="text/css">
6    body { color: blue; }
7    p:first-line { color: teal; }
8    p:first-letter { color: aqua; }
9    .one:first-line { font-size: 300%; }
10    .one:first-letter { font-size: 300%; }
11    p.two:first-letter { font-size: 200%; }
12    p.two:first-line { font-variant: small-caps; }
13    /* three uses the default styles */
14   </style>
15   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" title="5.12.2 The :first-letter pseudo-element">
16   <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" title="5.12.1 The :first-line pseudo-element">
17  </head>
18  <body>
19   <p class="one">
20    The <strong>first letter</strong> of this paragraph, and only that
21    one, should be <strong>600% bigger</strong> than the normal text
22    (300% bigger than the rest of first line of this paragraph) and
23    <strong>aqua</strong>, while the entire <strong>first line</strong>
24    should be <strong>300% bigger</strong> than normal and
25    <strong>teal</strong>. If this precise combination does not occur,
26    then the user agent has failed this test. Remember that in order to
27    ensure a complete test, the paragraph must be displayed on more
28    than one line. (TEST1)
29   </p>
30   <p class="two">
31    &quot;Test": The first <strong>two characters</strong> in this paragraph
32    (a double-quote mark and a capital 'T') should be <strong>200%
33    bigger</strong> than the rest of the paragraph, and
34    <strong>aqua</strong>. In addition, the entire <strong>first
35    line</strong> should be in a <strong>small-caps font and
36    teal</strong>. Remember that in order to ensure a complete test,
37    the paragraph must be displayed on more than one line. (TEST2)
38   </p>
39   <p>
40    The <strong>first letter</strong> of this paragraph, and only that
41    one, should be <strong>aqua</strong>, while the entire
42    <strong>first line</strong> should be <strong>teal</strong>. If
43    this precise combination does not occur, then the user agent has
44    failed this test. Remember that in order to ensure a complete test,
45    the paragraph must be displayed on more than one line. (TEST3)
46   </p>
47   <div>You should see the words <strong>&quot;TEST1"</strong>,
48   <strong>&quot;TEST2"</strong>, and <strong>&quot;TEST3"</strong> at the end of
49   three paragraphs above.</div>
50  </body>
51 </html>