Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: DOM styling modified by JavaScript does not affect first rendering Supersedes: <3663837.VPUSJq8a7p@PointedEars.de> Date: Sat, 01 Nov 2014 15:29:51 +0100 Organization: PointedEars Software (PES) Lines: 20 Message-ID: <1562672.7pDzyNHXCV@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1414852192 15582 eJwFwQEBwDAIAzBLsEIpdr6BfwlPEnTeCiYjNxfBGll5r7Q40++Mj64HiAX6Y9iMnulG8QcHKxBg (1 Nov 2014 14:29:52 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 1 Nov 2014 14:29:52 +0000 (UTC) User-Agent: KNode/4.14.1 Cancel-Key: sha1:Zd/xnLdbQw62pfbeDA8AkEIEc+k= X-User-ID: eJwNycEBwCAIA8CVgJig4yiV/Uew9z1CrsoharDZi3ZpbUVFHN8oTfwTNMDnNyoxU3HWhndmYvH65XYcWegBHyIT3A== Cancel-Lock: sha1:32Tt4orOfREh2npUMSZ5vkUJff4= X-NNTP-Posting-Host: eJwNyckBwDAIA7CVINiUjEMO7z9Cqq8Y6bk/JBMUNW13X8LvtjWkqBMuLTew/tGA0FCt8nnueTLBEhg= Xref: csiph.com comp.lang.javascript:26073 Joao Rodrigues wrote: > On 10/31/2014 02:53 PM, Chris Beall wrote: >> A working (for Firefox, Safari, Chrome, and IE) proof-of-concept can be >> found at >> http://beallsprings.org/sandbox/Mod%20DOM%20test4.html >> […] > > I'd like to comment about the animInit() function, which firstly tests > for the window.innerWidth property value. Remember that innerWidth and > innerHeight properties consider, if rendered, the scrollbars dimensions. The “innerWidth” and “innerHeight” properties have only recently gained support in IE/MSHTML, if at all. -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not Cc: me. / Bitte keine Kopien per E-Mail.