W3C home > Mailing lists > Public > www-style@w3.org > November 2008

Re: [css3-mediaqueries] feedback on device-aspect-ratio, aspect-ratio and orientation

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 02 Nov 2008 13:46:27 -0500
Message-ID: <490DF583.20807@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style@w3.org

Tab Atkins Jr. wrote:
> Hey, I'm just relaying Ian's arguments.  I think he assumes UAs as being 
> intelligent in figuring if a given ratio was 'close enough' to the float 
> to qualify as matching.

That would need to be very clearly specified to be interoperable.

> http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/thread.html#16588

This is talking about the "pixelratio" attribute of <video>.  That 
attribute is used as a multiplier to calculate output widths given input 
widths.  It is NOT used to compare to another floating point number, 
much less compare for equality.

So it's really not relevant here, since the issues here are with 
comparisons.

-Boris
Received on Sunday, 2 November 2008 18:47:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:16 GMT