On Mon, 13 Jun 2005, Sjoerd Visscher wrote: > > This isn't needed. Just like in normal HTML a drawing transaction is > automatically started when the javascript code starts, and finished when > the javascript code is done. And this is how it is implemented in > Firefox (don't know about Safari). > > Maybe the spec should describe this somewhere? Not specifically for > canvas, but for script in general: Changes on the DOM must be performed > instantly, and values like offsetWidth etc. must be recalculated, but > only visible when the script is done.
I don't think it would be right to make it non-conforming for a browser to show intermediate renderings. It would be a bad user experience, but, well, so would many things; it doesn't mean we have to disallow them. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
