blob: 7e177547f2a5560710cb3e05e4d86906ef48c69a [file] [log] [blame]
commit-queue@webkit.orge36811a2014-09-24 07:56:52 +00001<!doctype html>
2<html>
3<head>
4<style>
5div {
6 background-color: white;
7}
8</style>
9</head>
10<body>
11 <section>
12 <p><!-- To avoid styling the description. --></p>
13 <p>This tests basic style sharing with :nth-child(odd). If the test pass, lines with the text "green" should have a green background.</p>
14 <div style="background-color: lime">Green</div>
15 <div>White</div>
16 <div style="background-color: lime">Green</div>
17 <div>White</div>
18 <div style="background-color: lime">Green</div>
19 <div>
20 <div style="background-color: lime">Green</div>
21 <div>White</div>
22 <div style="background-color: lime">Green</div>
23 </div>
24 <div style="background-color: lime">
25 <div style="background-color: lime">Green</div>
26 <div>White</div>
27 <div style="background-color: lime">Green</div>
28 <div>White</div>
29 <div style="background-color: lime">Green</div>
30 </div>
31 </section>
32
33 <section>
34 <div style="background-color: lime">Green</div>
35 <div>White</div>
36 <div style="background-color: lime">Green</div>
37 <div>
38 <div style="background-color: lime">Green</div>
39 <div>White</div>
40 <div style="background-color: lime">Green</div>
41 <div>White</div>
42 <div style="background-color: lime">Green</div>
43 <div>White</div>
44 </div>
45 </section>
46</body>
47</html>