<?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>11300</bug_id>
          
          <creation_ts>2010-11-11 17:49:51 +0000</creation_ts>
          <short_desc>Remove form owner from scope chain in event handlers</short_desc>
          <delta_ts>2011-08-04 05:36:10 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</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="Jacob Rossi [MSFT]">jrossi</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</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>42439</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2010-11-11 17:49:51 +0000</bug_when>
    <thetext>In Section 7.1.6.1 under Lexical Environment Scope, avoiding step 2 (adding the form owner into the scope chain for form-associated elements) could yield a performance improvement to the spec. We have evidence that implementors would not endure a compat impact by avoiding this step because weve been shipping like this and havent witnessed issues. Since removing it could yeild a performance improvement in the spec and there doesn&apos;t appear to be a compat impact, the spec would be better without it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42446</commentid>
    <comment_count>1</comment_count>
      <attachid>934</attachid>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2010-11-11 19:06:29 +0000</bug_when>
    <thetext>Created attachment 934
testcase

Are you saying that for something like

&lt;html&gt;
&lt;body&gt;
  &lt;form method=&quot;POST&quot;&gt;
    &lt;input onclick=&quot;this.value = method;&quot;&gt;
  &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

IE throws an exception and doesn&apos;t alter the value of the input?

For which versions of IE is this true?

I&apos;d love to remove this from Firefox, not just for performance reasons, but also to reduce complexity.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42474</commentid>
    <comment_count>2</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2010-11-11 23:42:48 +0000</bug_when>
    <thetext>Turns out IE behaves differently than I described and we can&apos;t assert that there is not compat impact for this. We should keep this spec&apos;d as is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54110</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:36:10 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>934</attachid>
            <date>2010-11-11 19:06:29 +0000</date>
            <delta_ts>2010-11-11 19:06:29 +0000</delta_ts>
            <desc>testcase</desc>
            <filename>test.html</filename>
            <type>text/html</type>
            <size>106</size>
            <attacher name="Jonas Sicking (Not reading bugmail)">jonas</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5PgogIDxmb3JtIG1ldGhvZD0iUE9TVCI+CiAgICA8aW5wdXQgb25jbGljaz0i
dGhpcy52YWx1ZSA9IG1ldGhvZDsiPgogIDwvZm9ybT4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>