[whatwg] Callback driven initialization of canvas

Philipp Serafin phil127 at gmail.com
Wed Oct 22 07:09:05 PDT 2008


On Wed, Oct 22, 2008 at 2:07 PM, Fabien Meghazi <agr at amigrave.com> wrote:
>
> The goal would not be to completely forbid canvas but to block it by
> default while allowing the user to activate it when he wants to.
>

This is a nice feature to have, but the problem is, would it work in
reality? It works for Flash, since it most of the flash scripting is
loaded together with the applet. However, Canvas elements will
probably interface much more with the rest of the page than Flash
applets. I believe many applications would need large amounts of
additional code to handle graceful degrading *and* late loading of
such elements, even with callbacks. Would many web authors use this
feature?

Then again, maybe the onLoad event would be a good place for such a callback?



More information about the whatwg mailing list