Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: LayoutTests/fast/forms/button/button-focus-by-label-click.html

Issue 21321002: Form control focus by click on a label should be handled as same as focus (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/forms/button/button-focus-by-label-click-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <p>Click a label element makes an associated control focused, but it shouldn't h ave focus appearance.</p>
4 <label style="display: block;"><button>Button</button> Label</label>
5 <script src="../resources/common.js"></script>
6 <script>
7 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.
8 </script>
9 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/button/button-focus-by-label-click-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698