<?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>28235</bug_id>
          
          <creation_ts>2015-03-19 03:12:17 +0000</creation_ts>
          <short_desc>[WebVTT] Ignore metadata tracks for computed line position</short_desc>
          <delta_ts>2015-04-19 03:30:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>TextTracks CG</product>
          <component>WebVTT</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/webvtt/</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="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>philipj</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="Web Media Text Tracks CG">public-texttracks</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118670</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-03-19 03:12:17 +0000</bug_when>
    <thetext>&quot;Let n be the number of text tracks whose text track mode is showing and that are in the media element&apos;s list of text tracks before track.&quot;

This doesn&apos;t exclude metadata tracks, so if there are lots of metadata tracks and one captions track, that captions track could get a computed line position placing it where it makes no sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118671</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-03-19 03:14:39 +0000</bug_when>
    <thetext>I filed this bug because I noticed that Blink only considers tracks which are showing *and* are either subtitles or captions, which is not per spec.

Actually, this is a problem if there are many captions track but only one has an active cue, too.

I wonder why this shouldn&apos;t simply return -1, the overlap avoidance will take care of the rest.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119659</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-04-19 03:30:59 +0000</bug_when>
    <thetext>Metadata tracks are definitely never rendered, so I agree that they should be excluded, no matter if they are showing or not.

The HTML spec has some text towards this interpretation where it defines &quot;Showing&quot;:

&quot;Showing - Indicates that the text track is active. [..] In addition, for text tracks whose kind is subtitles or captions, the cues are being overlaid on the video as appropriate; for text tracks whose kind is descriptions, the user agent is making the cues available to the user in a non-visual fashion; and for text tracks whose kind is chapters, the user agent is making available to the user a mechanism by which the user can navigate to any point in the media resource by selecting a cue.&quot;

It might be a good idea to more explicitly follow this in the WebVTT spec, too, and exclude metadata, descriptions and chapter tracks from this *visual* rendering algorithm.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>