| Index: LayoutTests/fast/forms/button/button-focus-by-label-click.html
|
| diff --git a/LayoutTests/fast/forms/button/button-focus-by-label-click.html b/LayoutTests/fast/forms/button/button-focus-by-label-click.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4ce49589b201f85c812c1418f6e11d1b08e25597
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/button/button-focus-by-label-click.html
|
| @@ -0,0 +1,9 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<p>Click a label element makes an associated control focused, but it shouldn't have focus appearance.</p>
|
| +<button id="button1">Button</button><label for="button1">Label</label>
|
| +<script src="../resources/common.js"></script>
|
| +<script>
|
| +clickElement(document.querySelector('label'));
|
| +</script>
|
| +</body>
|
|
|