<?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>26526</bug_id>
          
          <creation_ts>2014-08-05 16:28:16 +0000</creation_ts>
          <short_desc>Fix aspect ratio constraint</short_desc>
          <delta_ts>2014-09-25 14:48:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>All</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="Martin Thomson">martin.thomson</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>fluffy</cc>
    
    <cc>jib</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>silviapfeiffer1</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>109941</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Thomson">martin.thomson</who>
    <bug_when>2014-08-05 16:28:16 +0000</bug_when>
    <thetext>A floating point value for a constraint won&apos;t compare to itself safely.  1.778 != 16/9.

I think that we need to have an epsilon value defined for comparison here.  Either that or we define a string microformat (bleargh) or a new structure (puke).

A numeric value does allow for a cleaner evaluation of the ideal thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110012</commentid>
    <comment_count>1</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2014-08-07 01:09:17 +0000</bug_when>
    <thetext>We handle width and height separately, why not { aspect: {x : 16, y : 9} }. Doesn&apos;t seem that complicated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111387</commentid>
    <comment_count>2</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2014-09-11 14:42:06 +0000</bug_when>
    <thetext>We previously decided match to 10 decimal points. I&apos;d be perfectly happy to say an epsilon of 1e-10. (or any other value, 1e-10 was picked sort of randomly as being very small so will work with video camera that are 10k by 10k but still large enough that it easily fit inside a double. If someone has a different value of epsilon to propose, I&apos;d be fine with that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111391</commentid>
    <comment_count>3</comment_count>
    <who name="Jan-Ivar Bruaroey [:jib]">jib</who>
    <bug_when>2014-09-11 16:21:11 +0000</bug_when>
    <thetext>I think the existing epsilon covers inaccuracies in double just fine, and that arguments to change it were in the opposite direction, chasing the problem of interpreting expectations correctly of people entering decimals by hand.

I believe Harald proposed 1/1000 [1], and I indicated perhaps 1/100 as being better, citing wikipedia [2] as evidence that accuracy-needs on aspect don&apos;t rise with higher resolutions.

[1] http://lists.w3.org/Archives/Public/public-media-capture/2014Aug/0056.html
[2] http://lists.w3.org/Archives/Public/public-media-capture/2014Aug/0084.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112175</commentid>
    <comment_count>4</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2014-09-25 14:48:53 +0000</bug_when>
    <thetext>Chairs editors talked about this and it seemed like the current doc is fine - all this proposes is a different value of epsilon and no argument was made why current value is not OK. If someone objects, don&apos;t shoot me, I&apos;m just the messenger.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>