Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: LayoutTests/fast/events/click-focus-anchor.html

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/events/click-focus-anchor.html
diff --git a/LayoutTests/fast/events/click-focus-anchor.html b/LayoutTests/fast/events/click-focus-anchor.html
index 57e465b0be2c0a32d7d62dd24f9972c1034904d8..1cf46f787b0bc7487f1e7e65ff61fa372d88b932 100644
--- a/LayoutTests/fast/events/click-focus-anchor.html
+++ b/LayoutTests/fast/events/click-focus-anchor.html
@@ -4,13 +4,13 @@
<script src="../../resources/js-test.js"></script>
<div id=test-container>
-<p><a id=a1 tabindex=0 title="focusable">Anchor with tab index</a>
-<p><a id=a2 title="not focusable">Anchor without tab index</a>
-<p><a id=a3 href="#" title="not focusable">Link without tab index</a>
-<p><a id=a4 href="#" tabindex=0 title="focusable">Link with tab index</a>
-<p><a id=a5 href="#" contentEditable title="focusable">Link with contentEditable</a>
-<p contenteditable id="p6" title="focusable"><a id=a6 href="#" title="not focusable">Link inside contentEditable</a>
-<p tabindex="1" id="p7" title="focusable"><a id="a7" href="#" title="not focusable">Link inside an elment with tabindex</a>
+<p><a id=a1 tabindex=0>Anchor with tab index</a>
+<p><a id=a2>Anchor without tab index</a>
+<p><a id=a3 href="#">Link without tab index</a>
+<p><a id=a4 href="#" tabindex=0>Link with tab index</a>
+<p><a id=a5 href="#" contentEditable>Link with contentEditable</a>
+<p contenteditable id="p6"><a id=a6 href="#" title="not focusable">Link inside contentEditable</a>
+<p tabindex="1" id="p7"><a id="a7" href="#">Link inside an elment with tabindex</a>
</div>
<div id="console"></div>
@@ -20,7 +20,7 @@ description('This test ensures that we can click to focus an a element.');
function handleFocus(e) {
var el = e.target;
- debug(el.id + ' received focus (' + el.title + ')');
+ debug(el.id + ' received focus');
}
document.addEventListener('focus', handleFocus, true);

Powered by Google App Engine
This is Rietveld 408576698