Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / 018.html
blob9bf835ac8f92ffb2fd105fdb42c9b4a508a7d6e8
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>:hover pseudo-class</title>
5 <style type="text/css">p:hover { background-color : lime }
6 a:hover { background-color : lime }
8 tr:hover { background-color : green }
9 td:hover { background-color : lime }
11 table { border-spacing: 5px; }</style>
12 <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
13 <link rel="prev" href="css3-modsel-17.html" title=":visited pseudo-class">
14 <link rel="next" href="css3-modsel-18b.html" title=":hover pseudo-class">
15 <link rel="last" href="css3-modsel-d5e.html" title="NEGATED :indeterminate with :checked">
16 <link rel="up" href="./index.html">
17 <link rel="top" href="../../index.html">
18 </head>
19 <body>
20 <p>The background color of this paragraph should turn to green when
21 the mouse pointer hovers either its text (<strong>here</strong>) or its whitespace background, <strong>here</strong>:</p>
22 <address>The background color of <a href="#foo">this anchor (<strong>here</strong>)</a> should turn to green when the pointing device hovers over it.</address>
23 <table>
24 <tbody>
25 <tr>
26 <td>The cells in</td>
27 <td>this table</td>
28 <td>should go</td>
29 </tr>
30 <tr>
31 <td>green when</td>
32 <td>you hover</td>
33 <td>the pointing</td>
34 </tr>
35 <tr>
36 <td>device over</td>
37 <td>them (<strong>here</strong>).</td>
38 <td></td>
39 </tr>
40 <tr>
41 <td>The rows in</td>
42 <td>this table</td>
43 <td>should go</td>
44 </tr>
45 <tr>
46 <td>dark green</td>
47 <td>when the</td>
48 <td>pointing device</td>
49 </tr>
50 <tr>
51 <td>is over the</td>
52 <td>five pixel</td>
53 <td>border spacing</td>
54 </tr>
55 <tr>
56 <td>and when it is</td>
57 <td>over the cells.</td>
58 <td></td>
59 </tr>
60 <tr>
61 <td>Including <strong>here</strong>,</td>
62 <td></td>
63 <td>blank cells.</td>
64 </tr>
65 </tbody>
66 </table>
67 </body>
68 </html>