control may pick up its name from wrong label

RESOLVED FIXED in Firefox 45

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: surkov, Assigned: surkov)

Tracking

(Blocks: 1 bug)

unspecified
mozilla45
Points:
---

Firefox Tracking Flags

(firefox45 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

3 years ago
If a label contains more than one elements then all elements pick up a name from the label.
(Assignee)

Comment 2

3 years ago
Created attachment 8689572 [details] [diff] [review]
patch
Assignee: nobody → surkov.alexander
Attachment #8689572 - Flags: review?(yzenevich)
(Assignee)

Comment 4

3 years ago
Created attachment 8689648 [details] [diff] [review]
patch

fix mochitest - we should use HTML:label for labellable elements only, see http://www.w3.org/TR/html5/forms.html#category-label
Attachment #8689572 - Attachment is obsolete: true
Attachment #8689572 - Flags: review?(yzenevich)
Attachment #8689648 - Flags: review?(yzenevich)
Comment on attachment 8689648 [details] [diff] [review]
patch

Review of attachment 8689648 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, thanks!
Attachment #8689648 - Flags: review?(yzenevich) → review+

Comment 8

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/3ec29dee6402
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox45: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.