W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: Feedback on "CSS Device Adaptation" draft 5/10/11

From: Charles Pritchard <chuck@jumis.com>
Date: Wed, 25 May 2011 09:12:29 -0700
Message-ID: <4DDD2A6D.7030408@jumis.com>
To: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>
CC: mike.sierra@nokia.com, www-style@w3.org, rune@opera.com
On 5/25/2011 2:28 AM, Kenneth Rohde Christiansen wrote:
> Are you really sure that it cannot be modified after the page loads?
> It definitely can in the browser that I am working on, and there is no
> code, at least in WebKit, that prohibits that.
> On Tue, May 24, 2011 at 7:35 PM,<mike.sierra@nokia.com>  wrote:
>> These are a couple of minor concerns about the CSS viewport spec, not necessarily "problems" per se, but issues that should be thought through as potential uncharted territory for CSS:
>> * In current implementations, the viewport is applied once at page load and can't be modified therafter. This seems like a special case that's much different than other at-rules and properties. I didn't see any obvious discussion of the issue within the spec.

Same issue cropped up in webkit on device pixel ratio,
where -webkit-min-device-pixel-ratio does not change.
In Mozilla, it does change, upon user zoom (on the desktop).

With both implementations, window.devicePixelRatio is static.

Microsoft introduced the metrics into window.screen,
I don't believe they support the css extension at this time.

Mozilla will not introduce the metrics into the scripting environment,
they've expressed that they'll only keep them accessible to trusted scripts
and to the css environment.


Received on Wednesday, 25 May 2011 16:13:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:46 UTC