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.

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

mercurial