W3C home > Mailing lists > Public > www-style@w3.org > January 2008

Re: [css3-mediaqueries] Rounding

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 9 Jan 2008 17:37:48 +0100
Message-ID: <18308.63580.877536.354481@gargle.gargle.HOWL>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org

Also sprach fantasai:

 > Today we discussed how imprecision in device hardware results in
 > display widths and heights that are not *exactly* in line with the
 > nominal width and height. It was suggested that we should allow
 > some fuzz factor in media query matching for this reason.

You can express fuzziness today throgh ranges, e.g.:

   @media (min-width: 100px) and (max-width: 150px) { ... }

By adding fuzziness you make it impossible to make exact queries. 

Also, it's a quite radical change at this stage. 

              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 9 January 2008 16:39:56 UTC

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