W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Textarea's changing dom

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 6 Jul 2004 23:10:08 +0000 (UTC)
Message-ID: <Pine.LNX.4.58.0407062308390.28534@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC