<?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>15769</bug_id>
          
          <creation_ts>2012-01-29 10:19:07 +0000</creation_ts>
          <short_desc>Section should clarify whether |download| attribute is boolean or not (i.e., is the minimum form |&lt;a download&gt;| or |&lt;a download=&quot;&quot;&gt;|?)</short_desc>
          <delta_ts>2012-07-18 18:47:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#attr-hyperlink-download</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>bugzilla</cc>
    
    <cc>kennyluck</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63273</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-01-29 10:19:07 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html
Multipage: http://www.whatwg.org/C#attr-hyperlink-download
Complete: http://www.whatwg.org/c#attr-hyperlink-download

Comment:
Section should clarify whether |download| attribute is boolean or not (i.e.,
is the minimum form |&lt;a download&gt;| or |&lt;a download=&quot;&quot;&gt;|?)

Posted from: 108.89.52.130
User agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63274</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-01-29 10:31:07 +0000</bug_when>
    <thetext>Those are equivalent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63309</commentid>
    <comment_count>2</comment_count>
    <who name="Kang-Hao (Kenny) Lu">kennyluck</who>
    <bug_when>2012-01-30 06:14:17 +0000</bug_when>
    <thetext>Regardless of the sentence in the parenthesis, the request seems to be quite clear. Having said that, the spec says

  # The attribute may have a value; the value, if any, specifies the default filename that the author
  # recommends for use in labeling the resource in a local file system. There are no restrictions on allowed
  # values, but authors are cautioned that most file systems have limitations with regard to what
  # punctuation is supported in file names, and user agents are likely to adjust file names accordingly.

and it&apos;s quite apparent to me that this attribute is currently not a boolean attribute and this doesn&apos;t need to be clarified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63390</commentid>
    <comment_count>3</comment_count>
    <who name="Patrick Dark">bugzilla</who>
    <bug_when>2012-01-31 08:06:06 +0000</bug_when>
    <thetext>Hello, I submitted this bug.

On a re-reading of both the text cited by Kenny Lu and the definition for Boolean attributes, the Boolean status of the attribute seems clear.

I was apparently confused by the simple use case--invoking a download with the existing file name--having the same syntax (i.e., |&lt;a download=&quot;&quot;&gt;|) as the Boolean attribute syntax. I see now that |&lt;a download&gt;| can&apos;t work here because it would have to be equivalent to |&lt;a download=&quot;download&quot;&gt;|.

I&apos;ll change the bug status to &quot;INVALID.&quot;

(IMO, it would be less confusing and more powerful to have |download| be a Boolean with the filename info in a separate attribute (e.g., |save-as|).)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>