<?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>23297</bug_id>
          
          <creation_ts>2013-09-19 20:22:49 +0000</creation_ts>
          <short_desc>[WebVTT] clarify region percentage parsing</short_desc>
          <delta_ts>2014-01-26 07:30: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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Ralph Giles">giles</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>lorettaguarino</cc>
    
    <cc>mike</cc>
    
    <cc>public-texttracks</cc>
    
    <cc>rick.eyre</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>93580</commentid>
    <comment_count>0</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2013-09-19 20:22:49 +0000</bug_when>
    <thetext>&quot;One or more ASCII digits.&quot;

The second set of ascii digits should be marked as present only if the optional decimal point was present. Otherwise this could be read as requiring two or more ascii digits, i.e. width=6% would be invalid.

Likewise with the other region attributes. It makes sense to abstract this into a &apos;webvtt percentage value&apos; or something similar so it can be described once an referenced from all three attributes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93581</commentid>
    <comment_count>1</comment_count>
    <who name="Ralph Giles">giles</who>
    <bug_when>2013-09-19 20:27:10 +0000</bug_when>
    <thetext>Ah, I see you already do this in the parsing section. I was worried about the description in section 4.4.1. Maybe these can just be &apos;an optional decimal&apos;? I was mislead by the level of detail into thinking this was normative. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93589</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-09-20 08:34:35 +0000</bug_when>
    <thetext>It is normative, but it doesn&apos;t apply to implementors. It applies to the author or WebVTT generator, as well as validators.

This this is a bug. The spec says that 6% is invalid (although the parser might accept it). It should say:

4. Optionally:
   1. A U+002E DOT character (.).
   2. One or more ASCII digits.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93590</commentid>
    <comment_count>3</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-09-20 10:22:46 +0000</bug_when>
    <thetext>Agreed, it&apos;s a bug. Thanks for noticing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97503</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-12-12 12:39:38 +0000</bug_when>
    <thetext>*** Bug 24069 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99094</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-01-26 07:30:14 +0000</bug_when>
    <thetext>Fixed in
https://github.com/w3c/webvtt/commit/730581507769f5022adca472c8d26c71f623f4d6</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>