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

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

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: De-duplicate using FocusController; update TestExpectations 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-svganchor-has-ring.html
diff --git a/LayoutTests/fast/events/click-focus-svganchor-has-ring.html b/LayoutTests/fast/events/click-focus-svganchor-has-ring.html
new file mode 100644
index 0000000000000000000000000000000000000000..6ed59d2372a0b4fcc7fc48783b8aacf668bb0ed0
--- /dev/null
+++ b/LayoutTests/fast/events/click-focus-svganchor-has-ring.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<body>
+<p>This test ensures that the focus ring is drawn for SVG anchors with a tabindex that received the focus by mouse.</p>
+
+<svg>
pdr. 2014/08/12 02:02:22 Can you add an explicit width and height to this?
robwu 2014/08/12 14:27:49 Done.
+ <a xlink:href="#">
+ <text id="anchor" font-size="18px" y="20" tabindex="0">SVG anchor with tabindex</text>
+ </a>
+</svg>
+<script src="resources/focus-anchor-by-mouse.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698