<?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>17257</bug_id>
          
          <creation_ts>2012-05-31 00:11:44 +0000</creation_ts>
          <short_desc>WebVTT: make vertical text default to upright</short_desc>
          <delta_ts>2012-10-10 22:06:46 +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>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></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="Silvia Pfeiffer">silviapfeiffer1</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-texttracks</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>68341</commentid>
    <comment_count>0</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-05-31 00:11:44 +0000</bug_when>
    <thetext>Right now, WebVTT specifies that text can be rendered vertically by using the &quot;vertical&quot; cue setting and a value of &quot;rl&quot; or &quot;lr&quot;. This is mapped to the CSS specification of &quot;writing-mode&quot; with a value of &quot;vertical-rl&quot; or &quot;vertical-lr&quot;.

http://dev.w3.org/csswg/css3-writing-modes/

The CSS3 spec seems to default vertically rendered text&apos;s line orientation to the default one for that font, essentially leaving it to the browser whether to write text upright or sideways.

My suggestion is therefore to require the CSS interpretation of &quot;vertical&quot; to also contain &quot;text-orientation: upright&quot; as the default.

Then, we probably also need to introduce a cue setting for text-orientation to allow sideways rendering if needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71396</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-07-24 16:00:41 +0000</bug_when>
    <thetext>Why are captions different than other text in Web pages here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71419</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-07-25 01:53:04 +0000</bug_when>
    <thetext>Hmm.. they are not.

So, what I am missing is a way to specify whether vertically rendered text is rendered upright or sideways in WebVTT. We have no setting for that. It can only be changed with CSS, which is not sufficient.

Can we add a cue setting of &quot;text-orientation:upright/mixed/sideways-left/sideways-right&quot; to be mapped to the appropriate text-orientation in CSS?

http://dev.w3.org/csswg/css3-writing-modes/#text-orientation0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71866</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-08-06 22:11:52 +0000</bug_when>
    <thetext>Why would you ever render it sideways? Isn&apos;t that just an esoteric presentational thing?

I don&apos;t understand why CSS isn&apos;t enough here. HTML doesn&apos;t have a way to control this either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71881</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-08-07 13:11:59 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Why would you ever render it sideways? Isn&apos;t that just an esoteric
&gt; presentational thing?

I&apos;m not overly fussed about whether we add sideways, but I thought some of the examples at http://wiki.whatwg.org/wiki/Use_cases_for_timed_tracks_rendered_over_video_by_the_UA had sideways vertical fonts (I&apos;m not good with chinese characters).

Since it&apos;s up to the browser to pick whether a vertical font is rendered sideways or upright, I think we need to provide the Web Developer with the ability to choose.


&gt; I don&apos;t understand why CSS isn&apos;t enough here. HTML doesn&apos;t have a way to
&gt; control this either.

HTML has CSS for this. WebVTT has to be usable without CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75891</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-10-10 22:06:46 +0000</bug_when>
    <thetext>HTML has to be usable without CSS too. And is. As is WebVTT.

Rotating CJK ideographs makes about as much sense as rotating latin ones (which is to say: some, but it&apos;s esoteric), or changing the colour, or changing the font. I don&apos;t understand why HTML and WebVTT are different here.

(If any browser implements the CSS &apos;text-orientation&apos; property then please feel free to file a bug so that we add this to the list of allowed CSS properties.)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>