blob: d13019bc8abd45d87497f139dabb57e2aec1b24e [file] [log] [blame]
ddkilzera0374092006-06-01 11:00:37 +00001<html>
2<head>
3<script>
4// Uncomment to make this an automated test
5//if (window.layoutTestController) {
6// layoutTestController.waitUntilDone();
ddkilzer09cbb702006-06-18 17:54:35 +00007// layoutTestController.keepWebHistory();
ddkilzera0374092006-06-01 11:00:37 +00008//}
9function runTest() {
10// Uncomment to make this an automated test
bdashc8738502007-03-19 04:32:24 +000011// // Uses window.history hack; see http://bugs.webkit.org/show_bug.cgi?id=7135
ddkilzera0374092006-06-01 11:00:37 +000012// if (!window.history[99999]) {
ddkilzer902552f2006-06-18 22:20:04 +000013// var element = document.getElementById("mylink");
14// var event = document.createEvent("MouseEvent");
15// event.initEvent("click", true, true);
16// element.dispatchEvent(event);
ddkilzera0374092006-06-01 11:00:37 +000017// }
18// else {
19// if (window.layoutTestController) {
20// layoutTestController.notifyDone();
21// }
22// }
23}
24</script>
25</head>
26<body onload="runTest();">
bdashc8738502007-03-19 04:32:24 +000027<div><a href="http://bugs.webkit.org/show_bug.cgi?id=8079">Bug 8079 REGRESSION: Redraw from page cache does not show visited links</a></div>
ddkilzera0374092006-06-01 11:00:37 +000028<ol>
29<li>The link in Step 2 should be rendered in an unvisited link color first.
ddkilzer902552f2006-06-18 22:20:04 +000030<li><a id="mylink" href="./resources/redraw-page-cache-visited-links-2.html">Click This Link Once</a><br><br>
ddkilzera0374092006-06-01 11:00:37 +000031<li value="4">The test passes if the link in Step 2 is rendered in a visited link color after the click.
32</ol>
33</body>
34</html>