Index: LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown.html |
diff --git a/LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown.html b/LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9919540fc254c9d012e9e3fd95e49efaf552be22 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-then-keydown.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<body> |
+<script src="../resources/common.js"></script> |
+<!-- A keydown event after mouse-focus should draw a focus ring. --> |
+<input type="checkbox"> |
+<script> |
+eventSender.mouseMoveTo(800, 600); |
+clickElement(document.querySelector('input')); |
+eventSender.keyDown('leftShift'); |
+</script> |
+</body> |