blob: 5ee90cdd5b9e15f4081373d3bea7f7d6df9de811 [file] [log] [blame]
benjamin@webkit.org0a6a8f42014-10-20 07:31:09 +00001<!doctype html>
2<html>
3<head>
4 <title>Test styling with the :link selector</title>
5 <style>
6 area, link {
7 display: block;
8 }
9 .webkit::before {
10 content: "WebKit";
11 }
12 .green::before {
13 content: "GREEN";
14 }
15 </style>
16</head>
17<body>
18 <p>Test styling with the :link selector. Any type the text is <em>GREEN</em>, its color should be green.</p>
19 <p><a>WebKit</a> <a style="color:lime" href=" ">GREEN</a> <a style="color:lime" href="http://www.webkit.org/notvisited.html">GREEN</a></p>
20 <p><link class="webkit"> <link class="green" style="color:lime" href=" "> <link class="green" style="color:lime" href="http://www.webkit.org/notvisited.html"></p>
21 <p><area class="webkit"> <area class="green" style="color:lime" href=" "> <area class="green" style="color:lime" href="http://www.webkit.org/notvisited.html"></p>
22</body>
23</html>