[whatwg] datalist element example and option element content model
ian at hixie.ch
Thu Aug 29 12:57:03 PDT 2013
On Thu, 18 Jul 2013, Kurosawa Takeshi wrote:
> I noticed inconsistency between datalist element example and option
> element content model.
> In a datalist element's code example, there are option elements which
> don't specify label attribute and are empty.
> > <label>
> > Sex:
> > <input name=sex list=sexes>
> > <datalist id=sexes>
> > <option value="Female">
> > <option value="Male">
> > </datalist>
> > </label>>
> However option element section prohibits such condition.
> > The label content attribute, if specified, must not be empty. If the
> > attribute is not specified, then the element itself must not be empty.
> My question is which one is correct: the code example or the option
> element section.
I corrected the spec on this in response to the bug you filed:
On Sat, 17 Aug 2013, Kurosawa Takeshi wrote:
> Bug 22994 - Clarify option element's label must be a non empty string.
If you could respond to comment 3 on that bug, that'd be great.
Note that if you post to this list, there's no point also filing a bug.
I'll get to the feedback either way eventually.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg