[whatwg] "canvas" tag and animations ?
Ian Hickson
ian at hixie.ch
Tue May 16 14:17:55 PDT 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list