[Bug 26526] New: Fix aspect ratio constraint

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26526

            Bug ID: 26526
           Summary: Fix aspect ratio constraint
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: martin.thomson@gmail.com
                CC: public-media-capture@w3.org

A floating point value for a constraint won'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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Tuesday, 5 August 2014 16:28:18 UTC