<?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>7769</bug_id>
          
          <creation_ts>2009-09-30 09:39:21 +0000</creation_ts>
          <short_desc>event handler IDL attributes and content attributes should reflect each other</short_desc>
          <delta_ts>2010-10-04 14:57:36 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Anne">annevk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>hsteen</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>27900</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2009-09-30 09:39:21 +0000</bug_when>
    <thetext>In both Firefox and Internet Explorer setting an event handler IDL attribute also sets the content attribute so setting an event handler IDL attribute and then removing the corresponding content attribute will remove the corresponding event handler.

Opera thinks this makes sense and would like to align. Can we align the specification too?

(Since this is a follow up to bug 7626 I added the same people to the cc list.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27919</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-30 10:22:53 +0000</bug_when>
    <thetext>http://software.hixie.ch/utilities/js/live-dom-viewer/saved/249 suggests that Firefox doesn&apos;t do what you describe.

In general, as discussed on IRC, this sounds like a big can of worms with a lot of edge cases. I think this needs a much more clear proposal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27932</commentid>
    <comment_count>2</comment_count>
    <who name="Hallvord R. M. Steen">hsteen</who>
    <bug_when>2009-09-30 11:37:22 +0000</bug_when>
    <thetext>I&apos;m a bit confused Ian - wouldn&apos;t this:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/251
be a better test for what the bug is about? :)

I agree that browsers don&apos;t currently sync this. From a QA/web author perspective we think it would seem more consistent if they did. (Have not discussed this in-depth with implementors)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27933</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2009-09-30 12:02:45 +0000</bug_when>
    <thetext>Sorry, my assertion was indeed based on inaccurate tests.

While I agree with Hallvord that it would be nicer I don&apos;t think it&apos;s worth it to introduce this behavior.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>