| Index: LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse.html
|
| diff --git a/LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse.html b/LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8e533c2807d9acddf22dc337dc79772a74f263e4
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<script>
|
| +enablePixelTesting = true;
|
| +</script>
|
| +<script src="../../js/resources/js-test-pre.js"></script>
|
| +<script src="../resources/common.js"></script>
|
| +
|
| +<input type="checkbox">
|
| +<div id="console"></div>
|
| +
|
| +<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);
|
| +eventSender.mouseMoveTo(0, 0);
|
| +</script>
|
| +<script src="../../js/resources/js-test-post.js"></script>
|
| +</body>
|
|
|