Andrew Sutherland wrote: > Is it possible / advisable to have Gecko support some preference or > other magical mechanism to cause transitions and non-infinite > animations to effectively complete in some extremely small time > interval / on the next turn of the event loop, at least for > durations originally less than 1second/other short time? I briefly > looked for such an existing mechanism, but was unable to find one.
Yes. You can use advanceTimeAndRefresh from nsIDOMWindowUtils. See comment here: http://mxr.mozilla.org/mozilla-central/source/dom/interfaces/base/nsIDOMWindowUtils.idl#1264 -- Paul _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform