[whatwg] element "img" with HTTP POST method

Anne van Kesteren annevk at opera.com
Fri Dec 10 02:15:30 PST 2010


On Fri, 10 Dec 2010 03:26:14 +0100, Adam Barth <w3c at adambarth.com> wrote:
> On Thu, Dec 9, 2010 at 4:46 PM, Tab Atkins Jr. <jackalmage at gmail.com>  
> wrote:
>> Why wouldn't <form method=post
>> action=/logout><button>Logout</button></form> work, with some CSS to
>> make it look like a link if you wanted that?
>
> It's too much work.  :)

Maybe we should make <button formaction=/logout formmethod=post> work  
without ancestor <form> for these cases? Not sure if it is really worth it  
though.


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



More information about the whatwg mailing list