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

[css3-mediaqueries] Handling non-square pixels

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 21 Aug 2007 14:07:30 -0400
Message-ID: <46CB29E2.6090802@inkedblade.net>
To: www-style@w3.org

Proposed changes:


   # In this specification, aspect ratio is defined as the number of
   # horizontal pixels over the number of vertical pixels.

   change to

   | In this specification, aspect ratio is defined as the horizontal
   | length of the device's display divided by its vertical length.


   # The ‘resolution’ media feature describes the resolution of the
   # output device, i.e. the density of the pixels.


   | When querying devices with non-square pixels, in 'min-resolution'
   | queries the least-dense dimension must be compared to the specified
   | value and in 'max-resolution' queries the most-dense dimensions must
   | be compared instead. A fixed 'resolution' query never matches a device
   | with non-square pixels.

   (Alternatively we could allow two values to query each dimension
   independently, but I don't think this is useful.)

Received on Tuesday, 21 August 2007 18:07:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:30 UTC