Chromium Code Reviews| 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..6e33ae951d76a005e5b39b23d623640385461c31 |
| --- /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> |
| +<label style="display: block;"><button>Button</button> Label</label> |
| +<script src="../resources/common.js"></script> |
| +<script> |
| +clickElement(document.querySelector('label')); |
|
keishi
2013/08/01 05:39:36
clickElement clicks the center of the element. The
tkent
2013/08/01 05:48:49
That's the reason why the label element has displa
keishi
2013/08/01 06:00:20
I see. Yes I would prefer that if possible.
tkent
2013/08/01 06:17:27
ok, I updated the test.
|
| +</script> |
| +</body> |