Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / selectors3 / xhtml / css3-modsel-29b.xml
blob3c84392677fc993c47109e46be10c985a3adec97
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4   <title>:nth-last-child() pseudo-class</title>
5   <style type="text/css"><![CDATA[.green { background-color : lime ! important }
6 ul > li:nth-last-child(odd) { background-color : red }
7 ol > li:nth-last-child(even) { background-color : red }
8 table.t1 tr:nth-last-child(-n+4) { background-color : red }
9 table.t2 td:nth-last-child(3n+1) { background-color : red }]]></style>
10   <link rel="first" href="css3-modsel-1.xml" title="Groups of selectors"/>
11   <link rel="prev" href="css3-modsel-29.xml" title=":nth-last-child() pseudo-class"/>
12   <link rel="next" href="css3-modsel-30.xml" title=":nth-of-type() pseudo-class"/>
13   <link rel="last" href="css3-modsel-d4.xml" title="Dynamic updating of :first-child and :last-child"/>
14   <link rel="up" href="./index.html"/>
15   <link rel="top" href="../../index.html"/>
16  </head>
17  <body>
18 <ul>
19   <li>First list item</li>
20   <li class="green">This second list item should have a green background</li>
21   <li>Third list item</li>
22   <li class="green">This fourth list item should have a green background</li>
23   <li>Fifth list item</li>
24   <li class="green">This sixth list item should have a green background</li>
25 </ul>
26 <ol>
27   <li class="green">This first list item should have a green background</li>
28   <li>Second list item</li>
29   <li class="green">This third list item should have a green background</li>
30   <li>Fourth list item</li>
31   <li class="green">This fifth list item should have a green background</li>
32   <li>Sixth list item</li>
33 </ol>
34 <div>
35 <table border="1" class="t1">
36   <tr>
37 <td>1.1</td>
38 <td>1.2</td>
39      <td>1.3</td>
40 </tr>
41   <tr>
42 <td>2.1</td>
43 <td>2.2</td>
44      <td>2.3</td>
45 </tr>
46   <tr class="green">
47 <td>Green row : 3.1</td>
48 <td>3.2</td>
49      <td>3.3</td>
50 </tr>
51   <tr class="green">
52 <td>Green row : 4.1</td>
53 <td>4.2</td>
54       <td>4.3</td>
55 </tr>
56   <tr class="green">
57 <td>Green row : 5.1</td>
58 <td>5.2</td>
59       <td>5.3</td>
60 </tr>
61   <tr class="green">
62 <td>Green row : 6.1</td>
63 <td>6.2</td>
64       <td>6.3</td>
65 </tr>
66 </table>
67 <p></p>
68 <table class="t2" border="1">
69   <tr>
70 <td>1.1</td>
71 <td class="green">green cell</td>
72 <td>1.3</td>
73       <td>1.4</td>
74 <td class="green">green cell</td>
75 <td>1.6</td>
76       <td>1.7</td>
77 <td class="green">green cell</td>
78 </tr>
79   <tr>
80 <td>2.1</td>
81 <td class="green">green cell</td>
82 <td>2.3</td>
83       <td>2.4</td>
84 <td class="green">green cell</td>
85 <td>2.6</td>
86       <td>2.7</td>
87 <td class="green">green cell</td>
88 </tr>
89   <tr>
90 <td>3.1</td>
91 <td class="green">green cell</td>
92 <td>3.3</td>
93       <td>3.4</td>
94 <td class="green">green cell</td>
95 <td>3.6</td>
96       <td>3.7</td>
97 <td class="green">green cell</td>
98 </tr>
99 </table>
100 </div>
101 </body>
102 </html>