MudGuard: input attribut

Beitrag lesen

Hi,

wo genau liegt der Fehler darin, auf Optionales zu verzichten? Mal abgesehen davon, dass es äußerst unpraktisch ist: Falsch ist es nicht, was der IE hier macht.

Ist es optional?

http://www.w3.org/TR/html4/interact/forms.html#h-17.13.2 sagt:

Every successful control has its control name paired with its current value as part of the submitted form data set.
[...]
If a form contains more than one submit button, only the activated submit button is successful.

Der geklickte submit-Button ist "successful". Von jedem "successful control" wird das name-value-Paar übertragen.

http://www.w3.org/TR/html4/interact/forms.html#h-17.4.1 sagt:

The control type defined by the INPUT element depends on the value of the type attribute:
[...]
image
    Creates a graphical submit button.

<input type="image"> ist also ein submit-Button, also gilt das unter 17.13.2 gesagte zum Thema submit button.

Weiter heißt es dort:
When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server.

Da steht nichts dabei, daß in diesem Fall das name-value-Paar nicht gesendet wird.

M.E. ist das Verhalten des IE falsch, da es gegen 17.13.2 verstößt.

cu,
Andreas

--
Warum nennt sich Andreas hier MudGuard?
O o ostern ...
Fachfragen per Mail sind frech, werden ignoriert. Das Forum existiert.