<?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>23239</bug_id>
          
          <creation_ts>2013-09-13 12:18:42 +0000</creation_ts>
          <short_desc>&quot;description&quot; &amp; &quot;descriptions&quot; would seem to be ripe for easy and confusing bugs: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#dom-videotrack-kind</short_desc>
          <delta_ts>2013-09-30 18:52:52 +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>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#attr-track-kind-descriptions</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          <blocked>23402</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>neil</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93348</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-09-13 12:18:42 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html
Multipage: http://www.whatwg.org/C#attr-track-kind-descriptions
Complete: http://www.whatwg.org/c#attr-track-kind-descriptions
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html

Comment:
&quot;description&quot; &amp; &quot;descriptions&quot; would seem to be ripe for easy and confusing
bugs:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.
html#dom-videotrack-kind

Posted from: 87.114.244.189
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:25.0) Gecko/20100101 Firefox/25.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93442</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-09-16 18:00:46 +0000</bug_when>
    <thetext>Can you elaborate?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93459</commentid>
    <comment_count>2</comment_count>
    <who name="Neil Stansbury">neil</who>
    <bug_when>2013-09-16 22:09:25 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #1)
&gt; Can you elaborate?

Hey Ian,

Sure, I am just working on a JS implementation, consuming some common interface definitions, and I discovered a bug I&apos;d introduced in my code because the plurality of the two strings was different.

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#attr-track-kind-keyword-descriptions

Says:
&quot;Textual descriptions of the video component of the media resource, intended for audio synthesis when the visual component is obscured, unavailable, or not usable (e.g. because the user is interacting with the application without a screen while driving, or because the user is blind). Synthesized as audio.&quot;

http://www.w3.org/TR/html5/embedded-content-0.html#dom-videotrack-kind
Says:
&quot;An audio description of a video track.&quot;

As I read the specs, both definitions are either so fundamentally different (textual vs audio only) or so similar(both audio descriptions of a track), I actually can&apos;t tease out the usage scenarios where they are different, and so would suggest that the plurality should be consistent, or obviously totally different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93505</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-09-17 20:09:23 +0000</bug_when>
    <thetext>Well, one is text, and one is sound. The text one is intended to be synthesised into sound by the computer. So, they&apos;re both very similar and different at the same time.

Would renaming &quot;description&quot; to &quot;descriptions&quot; help? Or is the problem more fundamental? I don&apos;t really understand the confusion. These are keywords used to describe quite different things.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93514</commentid>
    <comment_count>4</comment_count>
    <who name="Neil Stansbury">neil</who>
    <bug_when>2013-09-18 08:04:57 +0000</bug_when>
    <thetext>(In reply to Ian &apos;Hixie&apos; Hickson from comment #3)
&gt; Well, one is text, and one is sound. The text one is intended to be
&gt; synthesised into sound by the computer. So, they&apos;re both very similar and
&gt; different at the same time.
&gt; 
&gt; Would renaming &quot;description&quot; to &quot;descriptions&quot; help? Or is the problem more
&gt; fundamental? I don&apos;t really understand the confusion. These are keywords
&gt; used to describe quite different things.

I do appreciate the semantic differences now, but at the time I didn&apos;t notice my additional &quot;s&quot; when checking the kind of video track, and so took a while to discover my own bug, an extra &quot;s&quot; on a string word is easy to miss!

In the end I assigned constants TEXT_DESCRIPTION and ORAL_DESCRIPTION to ensure I don&apos;t reproduce that error anywhere else and remind myself of the semantic differences.

I would argue that the values should either be identical as they are both &quot;describing&quot; a track, or so different that the semantic meaning is obvious in the string differences.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93680</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-09-23 20:14:27 +0000</bug_when>
    <thetext>Ok. Hopefully there&apos;s not too many implementations already...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93681</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-09-23 20:14:37 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8195.
Check-in comment: Change &apos;description&apos; to the plural form so that videoTrack.kind is consistent with textTrack.kind, as it is for captions and subtitles already
http://html5.org/tools/web-apps-tracker?from=8194&amp;to=8195</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>