<?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>22085</bug_id>
          
          <creation_ts>2013-05-18 02:42:42 +0000</creation_ts>
          <short_desc>possibility to shrink the rendering area for timed text (webvtt) using CSS</short_desc>
          <delta_ts>2015-06-27 13:40:22 +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>Windows NT</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>v2</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>22075</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>alexander.farkas</cc>
    
    <cc>brad</cc>
    
    <cc>caitlin.potter</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>giles</cc>
    
    <cc>ian</cc>
    
    <cc>lorettaguarino</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>public-texttracks</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87872</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-05-18 02:42:42 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #22075 +++

Authors need a way to shrink the rectangel in which the track cues are displayed using CSS. 
The webvtt features for positioning are not suitable here. 

A typicall usecase is a scripted custom styleable mediaplayer, where the controls are placed over the video rendering area. In this case the author needs a way to &quot;reserve&quot; this space for those controls. Due to the fact, that this is depending on the style of a webpage and not related to the contetnt of the vtt file, it has to be defined using CSS. For example:

::cuedisplay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 40px; /* space is needed for overlaying custom styleable controls at the bottom of the video */
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89023</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-06-10 21:27:08 +0000</bug_when>
    <thetext>Did you mean to file this on HTML? It seems like a WebVTT bug (or maybe CSS).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89030</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-06-10 22:21:19 +0000</bug_when>
    <thetext>This is an alternative solution to the reserve() function in bug 17273, so I wanted to make sure you see it and consider it. Also see comments in bug 22075. It&apos;s not WebVTT specific, but general for displayed track cues.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89330</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-06-14 18:52:31 +0000</bug_when>
    <thetext>Ah, ok. Thanks for the heads-up. I don&apos;t have an opinion on whether we should do this with CSS or script (assuming there&apos;s even still any browser interest to do this, which isn&apos;t clear to me given the silence on bug 17273).

If we want to do this in CSS, though, we should move this to the CSS component to get the CSS side done first, so we have something to hook into.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89345</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-06-15 04:53:16 +0000</bug_when>
    <thetext>I think introducing a possibility to reduce the available rendering space for captions (as in: shrinking the video viewport) is important. If we had something like that, we could even remove the hooks that were put into WebVTT for overscan and make it a generic feature to change the rendering viewport.

I would, however, put the use case in bug 17273 for creating &quot;holes&quot; on the viewport into the 20% bucket and leave it to JS devs.

I&apos;m adding Simon to this bug for comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89384</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-06-17 08:33:22 +0000</bug_when>
    <thetext>I don&apos;t have anything to add that I didn&apos;t already say in Bug #22075.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90131</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-02 19:53:10 +0000</bug_when>
    <thetext>Silvia, I&apos;m reassigning this to you to push this through the CSS working group, since it&apos;s not really an HTML thing. Please don&apos;t hesitate to reassign it back to me if there&apos;s something that needs to be done in HTML for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90704</commentid>
    <comment_count>7</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-07-13 08:59:04 +0000</bug_when>
    <thetext>Simon, you&apos;re on the CSS WG - I&apos;m wondering: is this similar to the ::cue pseudo-element in WebVTT, so can we just define it in the WebVTT spec, or should we take it to the CSS WG?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90706</commentid>
    <comment_count>8</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-07-13 08:59:47 +0000</bug_when>
    <thetext>*** Bug 22075 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91723</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-08-07 12:47:13 +0000</bug_when>
    <thetext>Since it&apos;s a CSS feature it makes sense to keep the CSS WG in the loop but I think the WebVTT spec is a suitable place to put it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100917</commentid>
    <comment_count>10</comment_count>
    <who name="Loretta Guarino Reid">lorettaguarino</who>
    <bug_when>2014-02-19 18:15:14 +0000</bug_when>
    <thetext>We agree that a CSS solution like this is preferably to the Javascript proposal in bug 17273.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113397</commentid>
    <comment_count>11</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-10-17 21:21:55 +0000</bug_when>
    <thetext>*** Bug 25637 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121466</commentid>
    <comment_count>12</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-06-24 15:35:48 +0000</bug_when>
    <thetext>A request for better control over this has come up for Chromecast:
https://code.google.com/p/chromium/issues/detail?id=503233</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121498</commentid>
    <comment_count>13</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2015-06-27 13:40:22 +0000</bug_when>
    <thetext>Following the request in the bug, we&apos;d need to introduce a &quot;cue viewport&quot; as a box inside the &quot;video viewport&quot; and then replace all mentions of &quot;video viewport&quot; with this &quot;cue viewport&quot; (or &quot;cue display&quot;, but I think &quot;viewport&quot; works better). Then we can associate the proposed CSS with that &quot;cue viewport&quot;.

Obviously also needs introduction of a new pseudo-element ::cueviewport .

I can specify that, but would browsers implement it? (Adding Eric &amp; Ralph for this question)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>