Closed
Bug 684201
Opened 15 years ago
Closed 13 years ago
XUL label doesn't behave as expected when it's a label for a radio or checkbox
Categories
(Toolkit :: UI Widgets, defect)
Toolkit
UI Widgets
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: darktrojan, Unassigned)
Details
Attachments
(2 files, 1 obsolete file)
|
702 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
|
4.33 KB,
patch
|
Details | Diff | Splinter Review |
A click on a XUL <label> only focuses the element specified in the control attribute, it doesn't change the value of checkboxes or radios. This is inconsistent with HTML <label> and with using the label attribute.
| Reporter | ||
Comment 1•15 years ago
|
||
| Reporter | ||
Comment 2•15 years ago
|
||
Attachment #557801 -
Attachment is obsolete: true
Attachment #558452 -
Flags: review?(neil)
Comment 3•15 years ago
|
||
(From update of attachment 558452 [details] [diff] [review])
Why stop at checkbox and radio? Why not, say, the info box expander in the Places library?
(In reply to Geoff Lankow from comment #0)
> This is inconsistent with HTML <label>
Which is only there for consistency with IE; HTML itself doesn't require it, although HTML5 makes a strong case for it.
> and with using the label attribute.
I don't think the label element is supposed to be consistent with the label attribute.
| Reporter | ||
Updated•13 years ago
|
Assignee: geoff → nobody
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Updated•11 years ago
|
Attachment #558452 -
Flags: review?(neil)
You need to log in
before you can comment on or make changes to this bug.
Description
•