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
Classification: Unclassified
Component: HTML5 schema
All All
: P2 normal
Assigned To: Nobody
Depends on:
  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:


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. 
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> 
11:16 < hsivonen> eww.
11:17 < annevk> the conforming case would be <datalist> <label for=x> </label> 
                <select id=x> </select> </datalist>