This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25677 - Should not associate the label with anything if for="" is the empty string. http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3019
Summary: Should not associate the label with anything if for="" is the empty string. h...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 07:49 UTC by contributor
Modified: 2014-05-14 08:05 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-05-13 07:49:07 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html
Multipage: http://www.whatwg.org/C#the-label-element
Complete: http://www.whatwg.org/c#the-label-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Should not associate the label with anything if for="" is the empty string.
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3019

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36 OPR/21.0.1432.48 (Edition Next)
Comment 1 Ian 'Hixie' Hickson 2014-05-13 18:05:49 UTC
That's what the spec says, no? What am I missing?
Comment 2 Simon Pieters 2014-05-14 08:05:49 UTC
Oh. I thought IDs could be the empty string. I see that's not the case in the DOM spec. OK.