<?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>10332</bug_id>
          
          <creation_ts>2010-08-09 19:09:23 +0000</creation_ts>
          <short_desc>Shipping browsers don&apos;t have form.action reflect the DOM attribute exactly.  Specifically, if the content attribute is the empty string, they generally return &quot;&quot; on an IDL get, not the current address.  This contradicts the spec, but it would be confusing</short_desc>
          <delta_ts>2010-10-04 14:48:26 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#form-submission-0</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ayg</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>37313</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-08-09 19:09:23 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#form-submission-0

Comment:
Shipping browsers don&apos;t have form.action reflect the DOM attribute exactly. 
Specifically, if the content attribute is the empty string, they generally
return &quot;&quot; on an IDL get, not the current address.  This contradicts the spec,
but it would be confusing to behave like the spec demands, because &lt;form
action=&quot;&quot;&gt; is magic -- it ignores &lt;base&gt;.  It would probably make the most
sense to say that doing an IDL get on action for &lt;form action=&quot;&quot;&gt; should
return the current document&apos;s address (where it will be submitted), not
whatever &quot;&quot; resolves to (as the spec says) and not literally &quot;&quot; (as most
browsers currently do).  (Firefox 4, Chrome dev, WebKit nightly, and Opera
10.60 all return literally &quot;&quot; here, although in the case of WebKit and Opera
it seems to be part of larger errors in URL reflection.  See old Mozilla bug
on this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=297761)

Posted from: 68.175.61.233</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38386</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2010-09-01 22:40:07 +0000</bug_when>
    <thetext>Okay, never mind.  All browsers other than IE just reflect this as a string, not a URL.  I&apos;ll update bug 10331 with the info, since this is really part of that.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>