Path: csiph.com!feeder.erje.net!1.eu.feeder.erje.net!news.mb-net.net!open-news-network.org!.POSTED.32.229.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: timeline Date: Sun, 23 Jul 2017 19:07:33 +0200 Organization: PointedEars Software (PES) Lines: 25 Message-ID: <2572936.e9J7NaK4W3@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="32.229.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch:178.197.229.32"; logging-data="9935"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.2 X-User-ID: U2FsdGVkX1/ep8LROq3kktPwHYEyyzG4cnIvmnu3Zcp1BzRgCOsaKw== X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. > > > > Neither CSS Transitions nor Animations *alone* will solve the stated problem because without scripting they are triggered *regardless* whether the content in question has been loaded. They can alleviate the need for scripting CSS properties (which was not the question). The difficulty lies in detecting support for them at runtime, and due to bad implementations there can actually be a performance loss in using them instead of scripting CSS properties directly. Also, not all CSS properties can be animated this way (for example, you still need workarounds for a simple blend-in/out effect of an element that, if not displayed, should not be rendered at all: “display: none” still *disables* all transitions on an element). -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.