Index: LayoutTests/fast/forms/radio/radio-focus-by-mouse.html |
diff --git a/LayoutTests/fast/forms/radio/radio-focus-by-mouse.html b/LayoutTests/fast/forms/radio/radio-focus-by-mouse.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d2e3ec9c7ca8bb051b5b6f9f67f0798506700ad4 |
--- /dev/null |
+++ b/LayoutTests/fast/forms/radio/radio-focus-by-mouse.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<body> |
+<script src="../../js/resources/js-test-pre.js"></script> |
+<script src="../resources/common.js"></script> |
+ |
+<input type="radio"> |
+ |
+<script> |
+description('Clicking on a form control should focus on it.'); |
+var target = document.getElementsByTagName('input')[0]; |
+target.addEventListener('focus', function() { testPassed('Focus event was dispatched.'); }, false); |
+clickElement(target); |
+target.remove(); |
+</script> |
+<script src="../../js/resources/js-test-post.js"></script> |
+</body> |