Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css3 / selectors3 / html / css3-modsel-18a.html
blob41ee0d44f9a3469a8c4f635210ace0fb5313d32a
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>:hover pseudo-class on links</title>
5 <style type="text/css">
6 p { color: navy; }
8 .a a:hover { background: green; color: white; }
10 .b a:hover { background: red; color: yellow; }
11 .b a:link { background: green; color: white; }
13 .c :link { background: green; color: white; }
14 .c :visited:hover { background: red; color: yellow; }
15 </style>
16 <link rel="first" href="css3-modsel-1.html" title="Groups of selectors">
17 <link rel="prev" href="css3-modsel-18.html" title=":hover pseudo-class">
18 <link rel="next" href="css3-modsel-18b.html" title=":hover pseudo-class">
19 <link rel="last" href="css3-modsel-d4.html" title="Dynamic updating of :first-child and :last-child">
20 <link rel="up" href="./index.html">
21 <link rel="top" href="../../index.html">
22 </head>
23 <body>
24 <p class="a">The background color of <a href="#foo">this anchor (<strong>here</strong>)</a> should turn to green when the pointing device hovers over it.</p>
25 <p class="b">The background color of <a href="#foo">this anchor (<strong>here</strong>)</a> should <strong>remain green when you hover it</strong>.</p>
26 <p class="c">The background color of <a href="http://link.example.com/">this anchor (<strong>here</strong>)</a> should <strong>remain green when the pointing device hovers over it</strong> (do not follow that link).</p>
27 </body>
28 </html>