Re: [css3-mediaqueries] Rounding

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 UTC