- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 16 May 2006 21:17:55 +0000 (UTC)
On Thu, 16 Jun 2005, Sjoerd Visscher wrote: > > However, it would be nice to have a forceRedraw() method on window, like > SVG has. http://www.w3.org/TR/SVG/struct.html#InterfaceSVGSVGElement Implementations can't always cause a synchronous paint. On some platforms you can only paint when you are idling. So it seems better not to provide this API. Also, since some implementations run JavaScript on the main thread, it's bad practice to run a script for an extended period of time (which would be the use case for forceRedraw). So I don't think forceRedraw() is a good idea. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 16 May 2006 14:17:55 UTC