Re: [CSSOM View] Units for window.screen

On Sat, Sep 7, 2013 at 1:31 AM, Simon Pieters <simonp@opera.com> wrote:

> On Tue, 03 Sep 2013 14:26:14 +0200, Simon Pieters <simonp@opera.com>
> wrote:
>
>  I have left the spec as is, because screen.width and screen.availWidth
>> etc are likely used together with window.resizeTo et al, which existing
>> content most likely assumes to be measured in CSS pixels. If we change both
>> to use device pixels, windows will get smaller than the author intended on
>> high-DPI devices.
>>
>
> On the other hand, changing screen.width when the user zooms seems wrong.
>

Why?

"CSS pixels at 100% zoom" doesn't seem all that useful to me. The page
can't size anything in those units. All it can work with is CSS pixels with
the current zoom.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w  *
*

Received on Friday, 6 September 2013 13:52:28 UTC