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.
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 *
*