Firefox4 breaks <input type="image" action="value"> by not submitting the action-attribute I can not submit this to upstream-bugtracker because they have disabled my account after my anger about the since a year unusable broken account-wizard in thunderbird :-( FF 1 - FF 3.6: Array ( [myinput] => test [action_x] => 8 [action_y] => 8 [action] => Save ) FF 4: Array ( [myinput] => test [action_x] => 7 [action_y] => 5 ) _______________________________ <?php if(!empty($_POST)) { print_r($_POST); } ?> <form action="index.php" method="POST"> <input type="text" name="myinput" /> <input type="image" name="action" value="Save" src="save.gif" /> <input type="image" name="action" value="Cancel" src="cancel.gif" /> </form> _______________________________ this is a major bug and firefox acts now like msie, so i have to change our backend-functions to give all users a classic submit-button instead an image
The Firefox 4 behavior is correct. This is NOTABUG. References: https://bugzilla.mozilla.org/show_bug.cgi?id=583211 http://www.onenaught.com/posts/382/firefox-4-change-input-type-image-only-submits-x-and-y-not-name
> However, our behavior is correct according to HTML5, > which we're tracking this is bulls**t as long the document starts with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> and HTML5 is a working draft even if HTML5 would be finalized there is no reason because this does not change the doctype in the file, so what do they think at mozillas side? is it a funny game to break backward-compatibility?