[Bug 17185] Remove the missing value default for formmethod=""

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17185

--- Comment #1 from Simon Pieters <simonp@opera.com> 2012-05-25 10:54:51 UTC ---
formmethod should only have an invalid value default, not a missing value
default.

Consider

<form method=post> <input type=submit> </form>

input.formMethod will return "get", which is bogus since the attribute isn't
specified so the form's method is really "post". With the proposed change,
input.formMethod would return the empty string.

Since <form method=post> <input type=submit formmethod=invalid> </form> causes
the form to use GET, making input.formMethod return "get" there makes sense,
and allows for feature detection.

The same thing applies to formenctype.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 25 May 2012 10:55:49 UTC