Closed Bug 327683 Opened 19 years ago Closed 19 years ago

Labelled link associated with checkbox

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 163912

People

(Reporter: tdanard, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 In a HTML code where a link is a label of a checkbox, clicking that link automatically checks/unchecks that checkbox. This is not the expected behavior, the checkbox should not be affected. It should only be affected when the label is a text or an image, not a link. In Internet Explorer, it works as expected. Reproducible: Always Steps to Reproduce: The HTML code looks like this: <input type="checkbox" name="field0" id="field0"> <label for="field0"><a href="test.html">test</a></label>
*** This bug has been marked as a duplicate of 163912 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.