[whatwg] Textarea's changing dom

On Fri, 2 Jul 2004, martijnw wrote:
>
> http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-24874179
>
> "value of type DOMString
>     Represents the current contents of the corresponding form control,
> in an interactive user agent. Changing this attribute changes the
> contents of the form control, but does not change the contents of the
> element."
>
> I would rather have it that changing the dom attribute 'value' or typing
> in the textarea, would also change the contents of the textnode in the
> textarea.

Unfortunately this would not be a backwards-compatible change.


> In that way the dom level 2 traversal and range specification would not
> be useless for textarea's.
>
> The same goes for input text controls and probably also for other form
> controls.

We will definitely be looking into ways of addressing these problems,
either in Web Apps 1.0 or in a later spec.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 6 July 2004 16:10:08 UTC