<?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>9776</bug_id>
          
          <creation_ts>2010-05-20 09:22:17 +0000</creation_ts>
          <short_desc>Percentages for text positioning don&apos;t seem better than using the actual video dimensions. If you require integer percentages, then it doesn&apos;t work well for videos larger than 100px high. If not, then it&apos;s just an arbitrary resizing of the dimensions (sli</short_desc>
          <delta_ts>2012-07-18 18:42:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#timed-track-cue-line-position</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>astrange+w3</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>35774</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-05-20 09:22:17 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#timed-track-cue-line-position

Comment:
Percentages for text positioning don&apos;t seem better than using the actual video
dimensions. If you require integer percentages, then it doesn&apos;t work well for
videos larger than 100px high. If not, then it&apos;s just an arbitrary resizing of
the dimensions (slightly less precise horizontally if you round off) and
you&apos;re more likely to have pixel measurements on hand than percentage
measurements (since Aegisub shows pixels). 

Posted from: 184.36.82.183</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39352</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-25 15:51:25 +0000</bug_when>
    <thetext>What&apos;s the use case for precision to more than 1/100th of the video dimension?

We can&apos;t use pixels because it would mean that you couldn&apos;t use the same subtitle file for different resolution versions of the same video (consider e.g. YouTube videos which are often available in several sizes, but all have just one subtitle track).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39399</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Strange">astrange+w3</who>
    <bug_when>2010-09-25 19:56:11 +0000</bug_when>
    <thetext>This is mine - I meant that subtitle files could define their own pixel dimensions, and then coordinates could be resized to match the video.

This is how SSA works and it&apos;s quite successful - explicitly positioned text uses pixels, but text that just needs to be &quot;center lower left&quot; just has the alignment set to &quot;center lower left&quot;, avoiding having to think about pixels and the size of the text box entirely.

Obviously none of this is a problem if you allow non-integer coordinates, since any size can be resized into 0-100% using floating point. And it would avoid needing to add a dimension header to the file as well.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>