<?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>14525</bug_id>
          
          <creation_ts>2011-10-20 14:26:46 +0000</creation_ts>
          <short_desc>Why does the element for the attribute &lt;track&gt; is named &apos;kind&apos; ? It should be named &apos;type&apos; instead. Also, why is &apos;srclang&apos; instead of just &apos;lang&apos;? Try use same name for attributes in different tags to preserve keywords to minimum, then it becomes easier t</short_desc>
          <delta_ts>2011-10-22 11:24: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 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></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>ian</cc>
    
    <cc>lucas.sa</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</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>58543</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-20 14:26:46 +0000</bug_when>
    <thetext>Specification: http://dev.w3.org/html5/spec/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Why does the element for the attribute &lt;track&gt; is named &apos;kind&apos; ?

It should be named &apos;type&apos; instead.

Also, why is &apos;srclang&apos; instead of just &apos;lang&apos;?

Try use same name for attributes in different tags to preserve keywords to
minimum, then it becomes easier to learn, remember and write code.

Posted from: 212.247.162.243
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58544</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-10-20 14:40:01 +0000</bug_when>
    <thetext>The type attribute in other contexts (&lt;script&gt;, &lt;source&gt;, &lt;style&gt;) is used for MIME types, like video/webm and such.

The lang attribute is used to give the language of the content itself, not of an external resource.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58563</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-20 20:14:04 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: see comment 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58642</commentid>
    <comment_count>3</comment_count>
    <who name="Lucas Sa">lucas.sa</who>
    <bug_when>2011-10-21 16:02:16 +0000</bug_when>
    <thetext>Philip/Ian,

I disagree with the rationale to close this bug:

&quot;The type attribute in other contexts (&lt;script&gt;, &lt;source&gt;, &lt;style&gt;) is used for
MIME types, like video/webm and such.&quot;

This is not true. For &lt;input&gt; and &lt;link&gt; tags, the type attribute has the same meaning of &quot;kind&quot; in &lt;track&gt;. In &lt;input&gt;, it is also an enumerated attribute as in &lt;track&gt;. 

Unless there is another reason for different wording, I think that this is a matter of inconsistent naming in the specification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58704</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2011-10-22 11:24:05 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: You&apos;re right that &lt;input type&gt; is not a MIME type (but &lt;link type&gt; is a MIME type). However, &lt;track&gt; will sit next to &lt;source&gt;, which has type=&quot;&quot; and uses it for MIME type, and it would be confusing to have &lt;track type&gt; next to &lt;source type&gt; and they mean different things. We might even want to add type=&quot;&quot; as a MIME type to &lt;track&gt; in the future.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>