[webkit-dev] Exposing CSS pixel metrics to the scripting environment

Charles Pritchard chuck at jumis.com
Sat Nov 27 11:48:44 PST 2010

Looks like I'm digging myself deeper into a hole here.

I'm running this issue through the W3C per your suggestions.

I'll open up an item in the bug tracker if / when there's movement in 
the specs.

Thanks all.


On 11/27/2010 10:46 AM, Julian Reschke wrote:
> Charles,
> I recommend that you follow up in a W3C mailing list/issue tracker.
> Best regards, Julian
> On 27.11.2010 02:16, Charles Pritchard wrote:
>> Recently I brought this issue up to the WHATWG mailing list, without
>> much luck.
>> Currently, mobile devices are given access to window.devicePixelRatio,
>> used for managing what are essentially higher resolution displays. See
>> the iPhone, Android, etc. Within the desktop environment,
>> devicePixelRatio is not updated on zoom events. I don't think it should
>> be, but it's something to consider. Such information is critical to
>> adjusting the resolution of bitmaps, be they from an image source or a
>> canvas source, to be as crisp as can be.

More information about the webkit-dev mailing list