[css3-mediaqueries] Handling non-square pixels from fantasai on 2007-08-21 (www-style@w3.org from August 2007) (original) (raw)
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 UTC