W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2011

html5/spec Overview.html,1.4848,1.4849

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 28 Apr 2011 19:34:23 +0000
To: public-html-commits@w3.org
Message-Id: <E1QFWyl-0002Uz-Gj@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv9591

Modified Files:
	Overview.html 
Log Message:
Make the label required if <select required> is used without multiple='' or size=''. Also, make it possible for the label to be disabled, for legacy UAs (new UAs wouldn't let the user select the label). (whatwg r6039)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4848
retrieving revision 1.4849
diff -u -d -r1.4848 -r1.4849
--- Overview.html	28 Apr 2011 19:10:32 -0000	1.4848
+++ Overview.html	28 Apr 2011 19:34:19 -0000	1.4849
@@ -35950,15 +35950,19 @@
   user will be required to select a value before submitting the
   form.<p>If a <code><a href="#the-select-element">select</a></code> element has a <code title="attr-select-required"><a href="#attr-select-required">required</a></code> attribute specified,
   does not have a <code title="attr-select-multiple"><a href="#attr-select-multiple">multiple</a></code>
-  attribute specified, and has a <a href="#concept-select-size" title="concept-select-size">display size</a> of 1; and if the
-  <a href="#concept-option-value" title="concept-option-value">value</a> of the first
-  <code><a href="#the-option-element">option</a></code> element in the <code><a href="#the-select-element">select</a></code> element's
-  <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a> (if
-  any) is the empty string, and that <code><a href="#the-option-element">option</a></code> is not <a href="#concept-option-disabled" title="concept-option-disabled">disabled</a>, and, finally, that
+  attribute specified, and has a <a href="#concept-select-size" title="concept-select-size">display size</a> of 1;
+  and if the <a href="#concept-option-value" title="concept-option-value">value</a> of the
+  first <code><a href="#the-option-element">option</a></code> element in the <code><a href="#the-select-element">select</a></code>
+  element's <a href="#concept-select-option-list" title="concept-select-option-list">list of
+  options</a> (if any) is the empty string, and that
   <code><a href="#the-option-element">option</a></code> element's parent node is the <code><a href="#the-select-element">select</a></code>
   element (and not an <code><a href="#the-optgroup-element">optgroup</a></code> element), then that
   <code><a href="#the-option-element">option</a></code> is the <code><a href="#the-select-element">select</a></code> element's
-  <dfn id="placeholder-label-option">placeholder label option</dfn>.<div class="impl">
+  <dfn id="placeholder-label-option">placeholder label option</dfn>.<p>If a <code><a href="#the-select-element">select</a></code> element has a <code title="attr-select-required"><a href="#attr-select-required">required</a></code> attribute specified,
+  does not have a <code title="attr-select-multiple"><a href="#attr-select-multiple">multiple</a></code>
+  attribute specified, and has a <a href="#concept-select-size" title="concept-select-size">display size</a> of 1,
+  then the <code><a href="#the-select-element">select</a></code> element must have a <a href="#placeholder-label-option">placeholder
+  label option</a>.<div class="impl">
 
   <p><strong>Constraint validation</strong>: If the element has its
   <code title="attr-select-required"><a href="#attr-select-required">required</a></code> attribute
@@ -35966,7 +35970,7 @@
   the <code><a href="#the-select-element">select</a></code> element's <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a> have their
   <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> set to
   true, or the only <code><a href="#the-option-element">option</a></code> element in the
-  <code>selected</code> element's <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a> with its
+  <code><a href="#the-select-element">select</a></code> element's <a href="#concept-select-option-list" title="concept-select-option-list">list of options</a> with its
   <a href="#concept-option-selectedness" title="concept-option-selectedness">selectedness</a> set to
   true is the <a href="#placeholder-label-option">placeholder label option</a>, then the element
   is <a href="#suffering-from-being-missing">suffering from being missing</a>.</p>
Received on Thursday, 28 April 2011 19:34:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 April 2011 19:34:26 GMT