[whatwg] [wf2] disabled default submit button

Example document:

# <!DOCTYPE html>
# <form method="get">
#  <p><input name="t1">
#  <p><input type="submit" name="s1" disabled="disabled">
#  <p><input name="t2">
#  <p><input type="submit" name="s2">
# </form>

(1) When t1 is focused the default submit button in IE is s2 and in Opera and
Firefox it is s1 but disabled so it does not work.

(2) When t2 is focused the default submit button in IE, Opera and Firefox is s2.

In both situations all non disabled form controls are submitted.

With (1) Opera and Firefox seem to be following the Web Forms 2 specification,
but with (2) none of the browsers seem to be compliant.

I think a change has to be made to the specification as it does not reflect
reality, although reality can be quite ugly.

Kind regards,

Anne


-- 
Anne van Kesteren
<http://annevankesteren.nl/>

Received on Tuesday, 26 July 2005 06:22:31 UTC