W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [CSSOM View] Units for window.screen

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sat, 7 Sep 2013 12:33:30 +1200
Message-ID: <CAOp6jLbmODszapDSHwn_YJhRY9BRZFH9GX6ejn46JZsV92tvDQ@mail.gmail.com>
To: Simon Pieters <simonp@opera.com>
Cc: Henri Sivonen <hsivonen@iki.fi>, WWW Style <www-style@w3.org>, "Kang-Hao (Kenny) Lu" <kanghaol@oupeng.com>
On Sat, Sep 7, 2013 at 12:30 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Sat, Sep 7, 2013 at 2:22 AM, Simon Pieters <simonp@opera.com> wrote:
>> It can size popup windows which use the same unit.
> You mean parameters to window.open? Hmm.
> Things that are sized in CSS pixels have no use of the screen's width.
> Maybe the problem is that I don't know what the legitimate uses are for
> getting the screen width. I know it's used as part of device sniffing, but
> that's inherently bogus.

To clarify, I don't see sizing popups to fill half your screen, or
something like that, as being legitimately useful. (If you want to fill the
screen, we have the fullscreen API for that.) Popup windows are mostly
blocked and when they are used they should be sizing based on their
content. In most cases they should probably inherit the parent window's
zoom as well.

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 Saturday, 7 September 2013 00:33:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:32 UTC