#import <DOM/Event.idl>

interface SubmitEvent : Event {
    constructor(DOMString type, optional SubmitEventInit eventInitDict = {});

    readonly attribute HTMLElement? submitter;
};

dictionary SubmitEventInit : EventInit {
   HTMLElement? submitter = null;
};
