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

Unified Diff: LayoutTests/fast/forms/button/button-focus-by-label-click-expected.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, 5 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/button/button-focus-by-label-click-expected.html
diff --git a/LayoutTests/fast/forms/button/button-focus-by-label-click-expected.html b/LayoutTests/fast/forms/button/button-focus-by-label-click-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..08a69a6a66b367146c435c16434dfd325e0f2380
--- /dev/null
+++ b/LayoutTests/fast/forms/button/button-focus-by-label-click-expected.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>
+hoverOverElement(document.querySelector('label'));
+</script>
+</body>
« no previous file with comments | « LayoutTests/fast/forms/button/button-focus-by-label-click.html ('k') | Source/core/html/HTMLLabelElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698