Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / nth-child-not-in-rightmost.html
blob201200be4989079de078a18b0b80e93109450a2e
1 <!doctype html>
2 <html>
3 <head>
4 <style>
5 div:nth-child(even) span {
6 background: #eee;
8 </style>
9 </head>
10 <body>
11 <!-- Test for bug 98021, https://bugs.webkit.org/show_bug.cgi?id=98021 -->
12 <!-- Wrong display with "tr:nth-child(even) td" and missing &lt;tbody&gt; -->
13 <!-- If test passes, 1, 2, 3, 7, 8, and 9's background-color is #eee. -->
14 <!-- 4, 5, 6, 10, 11, and 12's background color is default.-->
15 <div><p>dummy</p></div>
16 <div><span>1</span><span>2</span><span>3</span></div>
17 <div><span>4</span><span>5</span><span>6</span></div>
18 <div><span>7</span><span>8</span><span>9</span></div>
19 <div><span>10</span><span>11</span><span>12</span></div>
20 </body>
21 </html>