NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 678 - datalist doesn't validate
datalist doesn't validate
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-20 10:42 CET by Simon Pieters
Modified: 2009-11-20 12:11 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters 2009-11-20 10:42:01 CET
<label>Homepage: <input name=hp type=url list=hpurls></label>
<datalist id=hpurls>
 <option value="http://www.google.com/" label="Google">
 <option value="http://www.reddit.com/" label="Reddit">
</datalist>

it seems v.nu has two bugs with datalist  
one parser bug where "any other end tag" doesn't imply </option>  
and list=foo doesn't work  
afaict from the spec </option> should be implied  
there's no entry for "datalist" end tag, so it gets handled by "any other end tag"  
whose steps run through once without doing anything but changing "node" to the next in 
and then returns to step 2 which generates implied end tags
Comment 1 Simon Pieters 2009-11-20 12:11:55 CET
I see that Henri had already filed bugs.