summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-visited/border-collapse-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-visited/border-collapse-1.html')
-rw-r--r--layout/reftests/css-visited/border-collapse-1.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layout/reftests/css-visited/border-collapse-1.html b/layout/reftests/css-visited/border-collapse-1.html
new file mode 100644
index 0000000000..b702c0184f
--- /dev/null
+++ b/layout/reftests/css-visited/border-collapse-1.html
@@ -0,0 +1,32 @@
+<!DOCTYPE HTML>
+<title>Test for privacy restrictions on :visited (Bug 147777)</title>
+<style type="text/css">
+
+div.table { display: table; border-collapse: collapse }
+div.row { display: table-row }
+a { text-decoration: none; color: initial; display: table-cell }
+
+.row1 :link { border: medium solid blue }
+.row1 :visited { border: thick dashed fuchsia }
+
+.row2 :link { border: thin dotted black }
+.row2 :visited { border: thick hidden rgba(255, 0, 0, 0.5) }
+
+.row3 :link { border: 7px double gray }
+.row3 :visited { border: 4px inset olive }
+
+</style>
+<div class="table">
+ <div class="row row1">
+ <a href="unvisited-page.html">unvisited</a>
+ <a href="visited-page.html">visited</a>
+ </div>
+ <div class="row row2">
+ <a href="visited-page.html">visited</a>
+ <a href="unvisited-page.html">unvisited</a>
+ </div>
+ <div class="row row3">
+ <a href="unvisited-page.html">unvisited</a>
+ <a href="visited-page.html">visited</a>
+ </div>
+</div>