<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6546</bug_id>
          
          <creation_ts>2009-02-09 12:07:05 +0000</creation_ts>
          <short_desc>List event handler attributes for certain elements</short_desc>
          <delta_ts>2009-02-09 12:07:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 Reference (editor: Lachlan Hunt)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Lachlan Hunt">lachlan.hunt</assigned_to>
          <cc>lachlan.hunt</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23590</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-02-09 12:07:05 +0000</bug_when>
    <thetext>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&apos;s one huge pile of event handler attributes and a huge pile of elements and it&apos;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 &quot;Events that are fired on this element&quot; 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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>