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

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 <button id="button1">Button</button><label for="button1">Label</label>
5 <script src="../resources/common.js"></script>
6 <script>
7 clickElement(document.querySelector('label'));
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