summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/first-line-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-visited/first-line-1.html')
-rw-r--r--layout/reftests/css-visited/first-line-1.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/css-visited/first-line-1.html b/layout/reftests/css-visited/first-line-1.html
new file mode 100644
index 0000000000..37aec8edc1
--- /dev/null
+++ b/layout/reftests/css-visited/first-line-1.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML>
+<html lang="en-US">
+<head>
+ <title>:visited and ::first-line</title>
+ <style type="text/css">
+
+ :link, :visited { display: block; text-decoration: none; }
+
+ :link { color: blue }
+ :link::first-line { color: fuchsia; }
+ :visited { color: purple }
+ :visited::first-line { color: maroon; }
+
+ </style>
+</head>
+<body>
+
+<a href="unvisited-page.html">unvisited<br>link</a>
+<a href="visited-page.html">visited<br>link</a>
+
+</body>
+</html>