W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] element "img" with HTTP POST method

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 10 Dec 2010 11:15:30 +0100
Message-ID: <op.vnhtf4vz64w2qv@anne-van-kesterens-macbook-pro.local>
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/
Received on Friday, 10 December 2010 02:15:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC