Cameron McCormack (2008-10-31): > Dean Jackson: >> >> aspect-ratio and device-aspect-ratio >> >> We think these should take a number (float) rather than a ratio >> (defined as a string). While ratio gives the same result it >> doesn't seem worth introducing a new type just for these queries. > > Wouldn’t that make it difficult (or impossible ...) to match some > aspect ratios like 4:3? Wouldn’t the author then be forced to > write something like: > > (min-aspect-ratio: 1.333) and (max-aspect-ratio: 1.334) You could also allow 'calc' in MQs: (aspect-ratio: calc(4/3)) (I didn't check current syntax restrictions.)Received on Monday, 24 November 2008 19:13:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT