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 6546 - List event handler attributes for certain elements
Summary: List event handler attributes for certain elements
Status: NEW
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 Reference (editor: Lachlan Hunt) (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Lachlan Hunt
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-09 12:07 UTC by Simon Pieters
Modified: 2009-02-09 12:07 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2009-02-09 12:07:05 UTC
HTML5 makes almost all event handler attributes global as to make them easier to implement. However this makes it harder for authors because now there's one huge pile of event handler attributes and a huge pile of elements and it's hard to know which combinations are useful.

So it might be nice to list event handler attributes that are likely to be useful specifically for a certain element (or document or window).

(Look for where the spec fires events. Actually you might even want to phrase it as "Events that are fired on this element" or some such.)

onload/onerror on script, img, iframe, object, etc
all the media-related events on media elements
form-related events on form elements (e.g. select onchange)
window.ononline
etc