[html5] r2473 - [e] (0) make note of <select placeholder='...' required value=''> proposal

whatwg at whatwg.org whatwg at whatwg.org
Sat Nov 29 13:32:05 PST 2008


Author: ianh
Date: 2008-11-29 13:32:04 -0800 (Sat, 29 Nov 2008)
New Revision: 2473

Modified:
   index
   source
Log:
[e] (0) make note of <select placeholder='...' required value=''> proposal

Modified: index
===================================================================
--- index	2008-11-29 20:43:44 UTC (rev 2472)
+++ index	2008-11-29 21:32:04 UTC (rev 2473)
@@ -27233,6 +27233,11 @@
          http://developers.slashdot.org/comments.pl?sid=426306&cid=22142072
          <Philip`> http://www.ipiao.com.cn/ does <select size="1" name="to"><script>City_Default="PEK"</script><SCRIPT language=javascript 
                    src="/js/flightcity.js"></SCRIPT></select> which is the kind of thing that could be much simpler with <select value="PEK">
+       * a way to make the <select> not have a default value at all (ack 
+         or to have a "placeholer" like value that doesn't count as a value being selected but shows a prompt until a value is selected
+       * once we can have no default, a way to require="" a value.
+       ack Weston Ruter: http://weston.ruter.net/projects/test-cases/html-select-element/
+       q.v. http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017583.html
     --><p>The <code><a href=#the-select-element>select</a></code> element represents a control for
   selecting amongst a set of options.</p>
 

Modified: source
===================================================================
--- source	2008-11-29 20:43:44 UTC (rev 2472)
+++ source	2008-11-29 21:32:04 UTC (rev 2473)
@@ -30543,6 +30543,11 @@
          http://developers.slashdot.org/comments.pl?sid=426306&cid=22142072
          <Philip`> http://www.ipiao.com.cn/ does <select size="1" name="to"><script>City_Default="PEK"</script><SCRIPT language=javascript 
                    src="/js/flightcity.js"></SCRIPT></select> which is the kind of thing that could be much simpler with <select value="PEK">
+       * a way to make the <select> not have a default value at all (ack 
+         or to have a "placeholer" like value that doesn't count as a value being selected but shows a prompt until a value is selected
+       * once we can have no default, a way to require="" a value.
+       ack Weston Ruter: http://weston.ruter.net/projects/test-cases/html-select-element/
+       q.v. http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-November/017583.html
     -->
 
   <p>The <code>select</code> element represents a control for




More information about the Commit-Watchers mailing list