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

Unified Diff: LayoutTests/fast/events/resources/focus-anchor-by-mouse.js

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/resources/focus-anchor-by-mouse.js
diff --git a/LayoutTests/fast/events/resources/focus-anchor-by-mouse.js b/LayoutTests/fast/events/resources/focus-anchor-by-mouse.js
new file mode 100644
index 0000000000000000000000000000000000000000..87bb1efc91f51ca49f7ed73c5bc29cc2e1137901
--- /dev/null
+++ b/LayoutTests/fast/events/resources/focus-anchor-by-mouse.js
@@ -0,0 +1,5 @@
+var aElement = document.getElementById('anchor');
+eventSender.mouseMoveTo(aElement.offsetLeft + 2, aElement.offsetTop + 2);
+eventSender.mouseDown();
+
+testRunner.dumpAsTextWithPixelResults();

Powered by Google App Engine
This is Rietveld 408576698