WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
15620
Clicking on the content of a label element doesn't give focus
https://bugs.webkit.org/show_bug.cgi?id=15620
Summary
Clicking on the content of a label element doesn't give focus
James Sumners
Reported
2007-10-22 08:04:52 PDT
As per
http://www.w3.org/TR/html4/interact/forms.html#edef-LABEL
, when a label element is given focus (e.g. by clicking it) then the focus should be given to the associated form element.
Attachments
This is a test case for the bug.
(509 bytes, text/html)
2007-10-22 08:06 PDT
,
James Sumners
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
James Sumners
Comment 1
2007-10-22 08:06:07 PDT
Created
attachment 16799
[details]
This is a test case for the bug. A simple HTML document that has two form elements with associated labels.
David Kilzer (:ddkilzer)
Comment 2
2007-10-22 09:14:53 PDT
Thanks for the bug report, James. Which version of Safari are you using? This has been fixed for quite a while with the Safari 3 Public Beta as well as in the WebKit Nightly builds.
http://apple.com/safari/
http://nightly.webkit.org/
Resolving as WORKSFORME since the attached test case works for me.
James Sumners
Comment 3
2007-10-22 09:22:43 PDT
Version 2.0.4 (419.3). I guess it will be resolved for me when I eventually upgrade to OS 10.5.
David Kilzer (:ddkilzer)
Comment 4
2007-10-22 10:04:11 PDT
(In reply to
comment #3
)
> Version 2.0.4 (419.3). > > I guess it will be resolved for me when I eventually upgrade to OS 10.5.
In the meantime, you may use a WebKit nightly build (it doesn't remove Safari 2.0.4), or you could try the Safari 3 Public Beta.
James Sumners
Comment 5
2007-11-16 12:23:35 PST
Just a note. This is works in the build of Safari that ships with 10.4.11.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug