This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html Multipage: http://www.whatwg.org/C#the-form-element Complete: http://www.whatwg.org/c#the-form-element Comment: <form id="test"></form><button form="test" formaction="javascript:alert(1)">X</button> Posted from: 182.48.112.66 User agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.60 Safari/537.1
Yeah, that should work fine.