W3C home > Mailing lists > Public > www-style@w3.org > April 2012

[css-device-adapt] arbitrary resolutions

From: Florian Rivoal <florianr@opera.com>
Date: Thu, 19 Apr 2012 18:23:23 +0200
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <op.wc0s49c54p7avi@localhost.localdomain>
The resolution descriptor in @viewport takes 3 values:


In this context, resolution currently defines dpi to mean "css pixels per  
physical inch", which is the exact opposite of what dpi means everywhere  
else. I first though of
fixing it to mean the same thing as elsewhere (physical dots per css  
inch), but upon further reflexion, I think we should just remove the  
ability to specify a <resolution> here.

There are good use cases for auto and device, but I am quite convinced  
that using explicit numbers here is always a misguided thing.

Therefore, I propose that we just allow 2 values (auto and device), and  
drop <resolution>.

  - Florian
Received on Thursday, 19 April 2012 16:22:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:14 UTC