[Bug 10892] New: onreset IDL attribute missing from Window, HTMLDocument, HTMLElement


           Summary: onreset IDL attribute missing from Window,
                    HTMLDocument, HTMLElement
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: adrianba@microsoft.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

Summary: It appears to be an oversight that the onreset IDL attribute is
missing from the interface Window, HTMLDocument, and HTMLElement; onsubmit is
present on those interfaces and submit/reset should have consistency within the

Details: The onreset IDL attribute as well as onreset content attribute
(triggered by the reset event) is not included anywhere in the spec. It would
be expected that:
<form onreset="alert('reset')"><input type="reset" /></form>

Will trigger the alert message when the input button is clicked. Indeed this
does work in all major browsers.

Desired change:
Add "onreset" to the list of IDL attributes/ content attributes in sections:
* 3.1.1 (HTMLDocument WebIDL definition)
* 3.2.2 (HTMLElement WebIDL definition)
* 3.2.3 (global attributes list)
* 5.2 (Window WebIDL definition)
* (add to Event handler/Event handler event type table)
* Index

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 30 September 2010 19:03:06 UTC