aboutsummaryrefslogtreecommitdiffstats
path: root/test_harnesses
diff options
context:
space:
mode:
authorPhil Crosby2010-01-30 22:17:01 -0800
committerPhil Crosby2010-01-31 00:37:08 -0800
commit80cbb6c178a7cc98fe244c0410f024cacf9d6694 (patch)
tree9f44598c34d2113001c905a216cca7735db30a08 /test_harnesses
parent29d0b9c2a0fe441a8434ec1882e3dc4b9e3af638 (diff)
downloadvimium-80cbb6c178a7cc98fe244c0410f024cacf9d6694.tar.bz2
Recognize elements with "onclick" attributes in link hints.
Fixes #72, although it makes Reddit look pretty messy since each link now has 3 letters.
Diffstat (limited to 'test_harnesses')
-rw-r--r--test_harnesses/page_with_links.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/test_harnesses/page_with_links.html b/test_harnesses/page_with_links.html
index 5e0679f4..83937595 100644
--- a/test_harnesses/page_with_links.html
+++ b/test_harnesses/page_with_links.html
@@ -19,7 +19,7 @@
a#paddingLinkTop {
padding-top:50px;
}
-
+
</style>
</head>
<body>
@@ -27,7 +27,7 @@
<br/><br/>
<br/><br/>
-
+
<a href="#paddingLink" id="paddingLink">This link has a lot of vertical padding</a>
<br/><br/>
@@ -36,5 +36,14 @@
<br/><br/>
<a href="#paddingLinkTop" id="paddingLinkTop">This link has a lot of vertical padding on the top</a>
+
+ <br/><br/>
+ <br/><br/>
+ <div onclick="alert('hi')">div with an onclick attribute</div>
+
+
+ <br/><br/>
+ <br/><br/>
+ <a name="anchorSpot">An anchor with just a name</a>
</body>
-</html> \ No newline at end of file
+</html>