benjamin@webkit.org | 0a6a8f4 | 2014-10-20 07:31:09 +0000 | [diff] [blame] | 1 | <!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> |