NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 232 - Forbid label from referring across datalist boundary
Forbid label from referring across datalist boundary
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-03 11:22 CEST by Henri Sivonen
Modified: 2009-11-23 17:16 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 Henri Sivonen 2008-06-03 11:22:36 CEST
11:15 < annevk> a more complicated check might be not allowing referencing a 
                <datalist> child unless the <label> is itself a child of the 
                same <datalist>
11:15 < hsivonen> annevk: I found another type=hidden bug while I was at it. 
                  thanks
11:15  * hsivonen has totally forgotten about datalist
11:16 < hsivonen> why would labels refer to datalists?
11:16 < annevk> <label for=x> ... </label> <datalist> <select id=x> </select> 
                </datalist>
11:16 < hsivonen> eww.
11:17 < annevk> the conforming case would be <datalist> <label for=x> </label> 
                <select id=x> </select> </datalist>