[whatwg] <isindex prompt>

2007/2/20, Anne van Kesteren <annevk at opera.com>:
> I think the parsing algorithm should take the prompt="" attribute of
> <isindex> in account. It replaces the string of characters placed before
> the <input> element with its contents. (In that case there will be no
> characters after the <isindex> element.)

Also, there is an action attribute, so I think it would be wise to
include that one too, I don't think I see it mentioned at:
http://www.whatwg.org/specs/web-apps/current-work/#isindex

This:
<html><head></head>
<body>
<isindex action="http://google.com">
<script>
alert(document.forms[0].action);
</script>
</body>
</html>

alerts 'http://google.com' in IE7.

Regards,
Martijn

Received on Tuesday, 20 February 2007 02:08:40 UTC