W3C home > Mailing lists > Public > public-html@w3.org > September 2010

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Sep 2010 19:03:04 +0000
To: public-html@w3.org
Message-ID: <bug-10892-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10892

           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,
                    public-html@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
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

-- 
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:19 UTC