Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1470542.MF3qFTnzmZ@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Mon, 09 Jan 2012 22:15 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: Sizing on android phone Newsgroups: comp.lang.javascript References: <2320864.tvUHyB9DHY@PointedEars.de> <20727073.rOyAWzDM7h@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 22 NNTP-Posting-Date: 09 Jan 2012 22:15:00 CET NNTP-Posting-Host: d61f340f.newsspool2.arcor-online.net X-Trace: DXC=DBUP_bUVIS7d8Nb@@ZG@b=A9EHlD;3Yc24Fo<]lROoR18kF Thomas 'PointedEars' Lahn wrote: >> Obviously, checking the *document*, the *document element* or the >> *document body* will _not_ yield the *viewport* dimensions. > > With mobile devices, at least the ones I have my hands on, the browsers > only open full screen. You need to get your hands on more mobile devices or more browsers or both. Regardless, why is it not *obvious* to you that neither of the document size, the document element size or the document body size can be generally the viewport size? Do you know what a viewport is? PointedEars -- Sometimes, what you learn is wrong. If those wrong ideas are close to the root of the knowledge tree you build on a particular subject, pruning the bad branches can sometimes cause the whole tree to collapse. -- Mike Duffy in cljs,