diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
commit | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch) | |
tree | 11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/redraw-page-cache-visited-links.html | |
parent | 648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff) | |
download | external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/redraw-page-cache-visited-links.html')
-rw-r--r-- | WebCore/manual-tests/redraw-page-cache-visited-links.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/WebCore/manual-tests/redraw-page-cache-visited-links.html b/WebCore/manual-tests/redraw-page-cache-visited-links.html new file mode 100644 index 0000000..d13019b --- /dev/null +++ b/WebCore/manual-tests/redraw-page-cache-visited-links.html @@ -0,0 +1,34 @@ +<html> +<head> +<script> +// Uncomment to make this an automated test +//if (window.layoutTestController) { +// layoutTestController.waitUntilDone(); +// layoutTestController.keepWebHistory(); +//} +function runTest() { +// Uncomment to make this an automated test +// // Uses window.history hack; see http://bugs.webkit.org/show_bug.cgi?id=7135 +// if (!window.history[99999]) { +// var element = document.getElementById("mylink"); +// var event = document.createEvent("MouseEvent"); +// event.initEvent("click", true, true); +// element.dispatchEvent(event); +// } +// else { +// if (window.layoutTestController) { +// layoutTestController.notifyDone(); +// } +// } +} +</script> +</head> +<body onload="runTest();"> +<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> +<ol> +<li>The link in Step 2 should be rendered in an unvisited link color first. +<li><a id="mylink" href="./resources/redraw-page-cache-visited-links-2.html">Click This Link Once</a><br><br> +<li value="4">The test passes if the link in Step 2 is rendered in a visited link color after the click. +</ol> +</body> +</html> |