[whatwg] Submit buttons

I think there is a slight inconsistency with submit buttons.
Section 2.17.:
"Normally, activating a submit button ... must submit the first form the 
control is associated with"
Section 2.3
"If the platform supports submitting a form implicitly ... then when 
doing so the first submit button, this default button, must be the one 
used to initiate form submission (and it will therefore be successful)."

The problem is that the the default button for a form might not submit 
the same form when activatated, if the form is not the first form in the 
forms collection of the button.

It could be solved by requiring that submit buttons (and input 
type=image) may only be associated with a single form at a time.

regards
Olav Junker Kj?r

Received on Tuesday, 24 May 2005 11:13:06 UTC