WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
146950
Choosing from a select element within a <label> field causes checkbox to be checked
https://bugs.webkit.org/show_bug.cgi?id=146950
Summary
Choosing from a select element within a <label> field causes checkbox to be c...
Greg Scown
Reported
2015-07-14 16:55:04 PDT
Created
attachment 256810
[details]
HTML which demonstrates this WebKit / label element bug To reproduce, open the attached webkit_label_bug.html file in the Safari nightly build (
r186801
). Select from the popup. Note the checkbox state. Repeat 2-3 times. Expected Behavior: Selecting from popup has no impact on checkbox. Actual Behavior: Selecting from popup toggles the checkbox. Here's the HTML in case there's any issue with the attachment: <!DOCTYPE html> <html> <head> </head> <body> <form action="#"> <label><input type="checkbox" name="Checkbox" id="3" />Popup <select name="popup_3"><option selected="selected">One</option><option>Two</option><option>Three</option><option>Four</option><option>Five</option></select></label> </form> </body> </html>
Attachments
HTML which demonstrates this WebKit / label element bug
(313 bytes, text/html)
2015-07-14 16:55 PDT
,
Greg Scown
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2015-07-17 13:25:03 PDT
Reproduces in Safari/WebKit 8.0.7 too. In Firefox, the checkbox visibly activates when clicking on the select, but it doesn't change the state.
Ahmad Saleem
Comment 2
2023-05-25 14:41:13 PDT
I tried to reproduce this in Safari 16.5 and it does not reproduce, it just activates 'checkbox' when I open menu for selection and it is similar in Firefox Nightly 115. While Chrome Canary 115 does not do anything. CCing - Aditya for any input.
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