Index: LayoutTests/fast/events/click-focus-anchor-has-ring-expected.html |
diff --git a/LayoutTests/fast/events/click-focus-anchor-has-ring-expected.html b/LayoutTests/fast/events/click-focus-anchor-has-ring-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..98fbe7bb1977d97ecc06394766d7e180d4f24ef0 |
--- /dev/null |
+++ b/LayoutTests/fast/events/click-focus-anchor-has-ring-expected.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>document.getElementById('anchor').focus();</script> |
+</body> |
+</html> |