<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 12/14/2010 9:51 PM, Simon Fraser wrote:
<blockquote cite="mid:64A272CA-6D22-486C-A5DA-8F0373B029D7@me.com"
type="cite">
<div>
<div>On Dec 14, 2010, at 10:22 AM, Charles Pritchard wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000000"> On 11/24/2010 1:12 AM,
Robert O'Callahan wrote:
<blockquote
cite="mid:AANLkTim8QgOcWsOm8edtVmXqRWh=rpJaML78q2xo3z4r@mail.gmail.com"
type="cite">On Wed, Nov 24, 2010 at 9:09 PM, Charles
Pritchard <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:chuck@jumis.com">chuck@jumis.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
<div class="im"> On 11/21/2010 4:12 PM, Robert
O'Callahan wrote:
<blockquote type="cite">On Sun, Nov 21, 2010 at
9:59 AM, Charles Pritchard <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:chuck@jumis.com"
target="_blank">chuck@jumis.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:
0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
Rob: Mobile deployments using dpiPixelRatio
(as has been adopted by Moz and Webkit) and
target-DpiDensity work well on the mobile,
they are not hooked to zoom on the desktop,<br>
</blockquote>
<div><br>
It is in Firefox.<br>
</div>
</div>
</blockquote>
</div>
I just tested in 4b7, and it's not changing
dpiPixelRatio.<br>
</div>
</blockquote>
<div><br>
Try this:<br>
<style><br>
div { display:none; }<br>
@media screen and (min--moz-device-pixel-ratio: 1.5) {<br>
.in { display:block; }<br>
}<br>
@media screen and (max--moz-device-pixel-ratio:
0.66666666) {<br>
.out { display:block; }<br>
}<br>
</style><br>
<div class="in">Zoomed in by a factor of at
least 1.5</div><br>
<div class="out">Zoomed out by a factor of at
least 1.5</div><br>
<br>
Try zooming in a lot and zooming out a lot. It works
for me.<br>
</div>
</div>
</blockquote>
<br>
I've started working to get this behavior supported in
webkit.<br>
</div>
</blockquote>
</div>
<br>
<div>Do you have a <a moz-do-not-send="true"
href="http://bugs.webkit.org">bugs.webkit.org</a> bug about
this issue? It may be better to get consensus about how the
feature should work before you spend a lot of time implementing
it.</div>
<div><br>
</div>
<div>Simon</div>
<div><br>
</div>
</blockquote>
<br>
I brought it up to the webkit-dev mailing list, and was told that it
should remain on the WHATWG:<br>
<a
href="https://lists.webkit.org/pipermail/webkit-dev/2010-November/015146.html">https://lists.webkit.org/pipermail/webkit-dev/2010-November/015146.html</a><br>
<br>
As stated in the thread: "Most of us follow the WHATWG closely and
generally prefer to discuss standardization issues such as this in
that forum to get a broader feedback base."<br>
<br>
Here's a bug report, for this particular issue:<br>
<a href="https://bugs.webkit.org/show_bug.cgi?id=51190">https://bugs.webkit.org/show_bug.cgi?id=51190</a><br>
<br>
<br>
Mozilla has agreed that such behavior is "correct" and asserted that
it is implemented in FF4.<br>
They do not update "window.devicePixelRatio", only the CSS selector
metric:<br>
Mozilla's policy on exposing screen metrics to the scripting
environment is that it must happen through matchMedium.<br>
<br>
At this point, I'm trying to get the CSS selector fixed via
Chromium.<br>
The broader concept of exposing CSS pixel ratios is filed as an a11y
issue.<br>
<a class="moz-txt-link-freetext" href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11328">http://www.w3.org/Bugs/Public/show_bug.cgi?id=11328</a><br>
<br>
If you have any ideas, let me know. I'm rather frustrated on the
issue, and have<br>
certainly frustrated several list members in the process.<br>
<br>
<br>
-Charles<br>
</body>
</html>