Re: HTMLButtonElement08

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 UTC