<?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>25948</bug_id>
          
          <creation_ts>2014-06-02 14:03:22 +0000</creation_ts>
          <short_desc>[WebVTT] The parser should not set the region to null when e.g. size != 100</short_desc>
          <delta_ts>2014-06-09 21:35:14 +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>FIXED</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="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>107128</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-06-02 14:03:22 +0000</bug_when>
    <thetext>&quot;If cue&apos;s text track cue line position is not text track cue automatic line position or cue&apos;s text track cue size is not 100 or cue&apos;s text track cue writing direction is not horizontal, let cue&apos;s text track cue region be null.&quot;

&quot;This makes sure that no matter in which order the cue settings are provided, if if the cue has a text track cue line position or a text track cue size setting or is text track cue vertical growing left or growing right writing direction, the text track cue region will be ignored.&quot;

This should be part of the rendering algorithm, since scripts can change the properties later to violate the invariant that this tries to preserve. To the extent possible, providing the settings to the parser or with a script should do the same thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107160</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-06-02 22:29:17 +0000</bug_when>
    <thetext>makes sense</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107273</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-06-04 13:53:24 +0000</bug_when>
    <thetext>Hmm, trying to actually move this, I&apos;m thinking it&apos;s better to just get rid of the logic. If one has specified both a region and something that is ignored in regions then one of them is going to be ignored and it doesn&apos;t seem to matter much which it is. The simplest way is to just use the region if it&apos;s set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107274</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-06-04 14:16:51 +0000</bug_when>
    <thetext>https://github.com/w3c/webvtt/pull/88</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107523</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-06-09 13:21:01 +0000</bug_when>
    <thetext>Need to think through the consequences, though. Do vertical regions still behave correctly? Is there some text in the region specification parts that was not thought through to potentially be vertical rather than horizontal? Either leave this bug open or add a new one to remind us.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107550</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2014-06-09 21:35:14 +0000</bug_when>
    <thetext>The spec has been updated and I&apos;ve filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=26023</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>