W3C home > Mailing lists > Public > www-dom-ts@w3.org > September 2002

Re: HTMLButtonElement08

From: Philippe Le Hegaret <plh@w3.org>
Date: 20 Sep 2002 16:33:29 -0400
To: www-dom-ts@w3.org, Rob Relyea <rrelyea@microsoft.com>, Brad Pettit <bradp@microsoft.com>, Johnny Stenback <jst@netscape.com>
Message-Id: <1032554009.10613.26.camel@jfouffa>

On Fri, 2002-09-20 at 16:19, Philippe Le Hegaret wrote:
> 5.
> file:///C:/cygwin/home/Administrator/2001/DOM-Test-Suite/build/level2/html/ecmascript/tests/HTMLButtonElement08.html:HTMLButtonElement08
> failed
> 
> 
> The value attribute specifies the current control value. Retrieve the
> value attribute and examine it's value.
> 
> > The tests has a <button value="foo">bar</button> and it expects .value
> > to be "foo" even if the button is displayed with the text "bar" in it.
> > Mozilla returns "bar" and IE returns "foo".
> 
> not quite: Mozilla returns "foo", IE returns its default value.
> 
> "valueLink"
> Expected Reset Disabled Button (string) but was Reset (string)
> 
> This seems to be an IE6 bug:

Hum, after rereading the HTML spec, it is not clear if the default value
from the button comes from its content or its value attribute. In any
case, this seems more a problem with HTML than the DOM in fact.

Philippe
Received on Friday, 20 September 2002 16:33:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:47 GMT