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

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

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move m_wasFocusedByMouse into subclasses. 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-has-ring.html
diff --git a/LayoutTests/fast/events/click-focus-anchor-has-ring.html b/LayoutTests/fast/events/click-focus-anchor-has-ring.html
new file mode 100644
index 0000000000000000000000000000000000000000..4a4d18d1dea58f94b987bd81e5faca32b84bea23
--- /dev/null
+++ b/LayoutTests/fast/events/click-focus-anchor-has-ring.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+a { color: blue; }
+</style>
+</head>
+<body>
+<p>This test ensures that the focus ring is drawn for anchors with a tabindex that received the focus by mouse.</p>
+<p><a id="anchor" tabindex="0" href="#">Anchor with tabindex</a></p>
+
+<script src="resources/focus-anchor-by-mouse.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698