W3C home > Mailing lists > Public > www-style@w3.org > August 2007

Re: [css3-mediaqueries] Rounding

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 21 Aug 2007 17:42:31 -0400
Message-ID: <46CB5C47.5030503@inkedblade.net>
To: www-style@w3.org

fantasai wrote:
> 
>     * For 'min-aspect-ratio' and 'max-aspect-ratio', if the actual
>       aspect ratio is between 1/12 and 12/1 then the UA may round
>       the actual aspect ratio to the nearest of:
>         * the nominal ratio of any paper size listed in tables 3-8
>           of [PWGMSN] in either portrait or landscape orientation
>         * any ratio {1..(2N-1)}/N where N ∈ {1..12}[1]
>         * the inverse of the above

Christoph wrote:
 > I could also think of these keywords for irrational values with specified
 > uncertainty: 'golden' (= 0.5 + sqrt(1.25) ~= 1.618), 'silver'
 > (= 1 + sqrt(2) ~= 2.414,

With that reminder, I also suggest adding

           * 0.5 + sqrt(1.25) (the golden ratio)
           * 1 + sqrt(2)

~fantasai
Received on Tuesday, 21 August 2007 21:42:52 GMT

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