- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 28 Apr 2011 19:34:14 +0000 (UTC)
On Wed, 8 Dec 2010, Simon Pieters wrote: > On Tue, 07 Dec 2010 23:13:13 +0100, Ian Hickson <ian at hixie.ch> wrote: > > On Tue, 31 Aug 2010, Simon Pieters wrote: > > > > > > Maybe <select required><option value selected disabled>Choose one... > > > should be allowed? > > > > I considered that, but since disabled options don't get selected, that > > wouldn't work without yet more special-casing. > > It gets selected in Opera, Firefox and WebKit. AFAICT the spec makes it > selected, too ("selectedness" is true if selected="" is present > regardless of disabled=""). Good point. Fixed. > > > The spec currently doesn't require there to be any select label > > > option if the required attribute is present on select. > > > > Right, the label doesn't have to be present. Why would we require one? > > Because without one the required attribute has no effect, so is likely > an authoring mistake. Only if neither multiple="" and size="" are specified. But fair enough, in that case I've made it required that there be a label. > Also, s/selected element's/select element's/ Fixed. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 28 April 2011 12:34:14 UTC