Index: LayoutTests/fast/forms/submit/submit-focus-by-mouse-expected.html |
diff --git a/LayoutTests/fast/forms/submit/submit-focus-by-mouse-expected.html b/LayoutTests/fast/forms/submit/submit-focus-by-mouse-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e93e3ed0170cc90cba928821f136070bf335aa66 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/submit/submit-focus-by-mouse-expected.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<body> |
+<script> |
+enablePixelTesting = true; |
+</script> |
+<script src="../../js/resources/js-test-pre.js"></script> |
+<script src="../resources/common.js"></script> |
+ |
+<input type="submit"> |
+<div id="console"></div> |
+ |
+<script> |
+eventSender.mouseMoveTo(800, 600); |
+description('Clicking on a form control should focus on it.'); |
+testPassed('Focus event was dispatched.'); |
+hoverOverElement(document.querySelector('input')); |
+</script> |
+<script src="../../js/resources/js-test-post.js"></script> |
+</body> |