<?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>18947</bug_id>
          
          <creation_ts>2012-09-21 08:02:19 +0000</creation_ts>
          <short_desc>WebVTT: Add CSS examples</short_desc>
          <delta_ts>2013-12-09 07:13:13 +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></bug_file_loc>
          <status_whiteboard>v1</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-texttracks</cc>
    
    <cc>silviapfeiffer1</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>74181</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2012-09-21 08:02:19 +0000</bug_when>
    <thetext>It would be good to have CSS examples showing how to use the different selectors, how to use karaoke, etc.

/* use the same font family as in the surrounding page */
video::cue { font-family:inherit }

/* cue id */
video::cue(#intro) { font-size:10vh }

/* inline class */
video::cue(.code) { white-space:pre-wrap; font-family:monospace }

/* voice */
video::cue(v[voice=&quot;Jim&quot;]) { color:yellow }

/* karaoke */
video::cue(c) { transition:linear 0.5s color }
video::cue(c:past) { color:lime }</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76798</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-10-19 23:43:17 +0000</bug_when>
    <thetext>An example that demonstrates CSS escaped characters would be helpful, too.

E.g.

/* this is the cue */
52 my cue identifier
00:00:52.000 --&gt; 00:00:01:05.000
My cue text

/* how to reference it in CSS */
::cue(#\35 2\ my\ cue\ identifier)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>