W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2006

Constrains of the value propety of Controls

From: Joao Eiras <joao.eiras@gmail.com>
Date: Fri, 20 Oct 2006 05:42:53 +0100
To: www-dom@w3.org
Message-ID: <op.thpd1rsbxl3at9@dragast.mshome.net>


Currently, no DOM specification explicitly defines behaviour and  
restrictions when setting the value of the value property for elements  
part of forms, like select, option, and input. That's however, work that's  
being done at WHATWG.
Yet, one single case persists:
  - the value property of a HMTLSelectElement is a limited domain, formed  
by the value of the select's child option elements value property.

Is this a valid assertion ?
What is expected to happen when a script tries to set the value of the  
value property of a select element, value which doesn't exist among it's  
children ? Should the value remain unchanged ? An error thrown ?

thank you.
Received on Friday, 20 October 2006 04:43:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT