layout/reftests/css-visited/first-line-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE HTML>
michael@0 2 <html lang="en-US">
michael@0 3 <head>
michael@0 4 <title>:visited and ::first-line</title>
michael@0 5 <style type="text/css">
michael@0 6
michael@0 7 :link, :visited { display: block; text-decoration: none; }
michael@0 8
michael@0 9 :link { color: blue }
michael@0 10 :link::first-line { color: fuchsia; }
michael@0 11 :visited { color: purple }
michael@0 12 :visited::first-line { color: maroon; }
michael@0 13
michael@0 14 </style>
michael@0 15 </head>
michael@0 16 <body>
michael@0 17
michael@0 18 <a href="unvisited-page.html">unvisited<br>link</a>
michael@0 19 <a href="visited-page.html">visited<br>link</a>
michael@0 20
michael@0 21 </body>
michael@0 22 </html>

mercurial