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 27476 - the selected attribute should be removed from options elements and instead be set in the parent sele [...]
Summary: the selected attribute should be removed from options elements and instead be...
Status: RESOLVED INVALID
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: https://html.spec.whatwg.org/#the-sel...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 00:51 UTC by contributor
Modified: 2015-08-13 07:18 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-12-01 00:51:02 UTC
Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#the-select-element
Complete: https://html.spec.whatwg.org/#the-select-element
Referrer: https://www.google.com/

Comment:
the selected attribute should be removed from options elements and instead be
set in the parent select element. its pretty retarded to set it in the child
element of the element you will read the value from. other than that 0
complaints from me.

Posted from: 173.218.168.124
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36
Comment 1 Ian 'Hixie' Hickson 2014-12-01 19:26:41 UTC
Unfortunately there's not much we can do to change this API, it's been implemented and shipped for over a decade now. :-(