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:

   http://www.w3.org/TR/css3-mediaqueries/#device-aspect-ratio

   # 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.


   http://www.w3.org/TR/css3-mediaqueries/#resolution

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

   Add

   | 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.)

~fantasai
Received on Tuesday, 21 August 2007 18:07:35 GMT

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