This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10892 - onreset IDL attribute missing from Window, HTMLDocument, HTMLElement
Summary: onreset IDL attribute missing from Window, HTMLDocument, HTMLElement
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 19:03 UTC by Adrian Bateman [MSFT]
Modified: 2010-10-10 14:38 UTC (History)
4 users (show)

See Also:


Attachments

Description Adrian Bateman [MSFT] 2010-09-30 19:03:04 UTC
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 spec.

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)
* 6.1.6.2 (add to Event handler/Event handler event type table)
* Index
Comment 1 Ian 'Hixie' Hickson 2010-10-05 00:02:45 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Oops. Dunno how I missed that!
Comment 2 contributor 2010-10-05 00:03:45 UTC
Checked in as WHATWG revision r5580.
Check-in comment: Missed .onreset somehow.
http://html5.org/tools/web-apps-tracker?from=5579&to=5580
Comment 3 Adrian Bateman [MSFT] 2010-10-10 14:38:23 UTC
Thanks.