Re: HTMLButtonElement08

Philippe Le Hegaret <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.