W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] Canvas element

From: Dean Edwards <dean@edwards.name>
Date: Wed, 20 Apr 2005 23:18:18 +0100
Message-ID: <4266D52A.1030301@edwards.name>
dolphinling wrote:
> +1
> I would ask what semantics canvas has. ol means the content is an 
> ordered list, em means the content is emphasized, span and div mean the 
> content is different, but in a way not associated with any element. Even 
> img and object mean the content is external, (usually) with non-html 
> semantics.
> At best I can see canvas being equivelant to img and object, but without 
> the use case of the content being external. But even so, they come with 
> default semantics (the image or whatever else is being represented in 
> them) whereas canvas doesn't, it has to be scripted in.
> So am I missing something here? What semantics does canvas have?

I see the CANVAS element as analogous to the IMG element. It has similar 
content (it's ultimately an image) but that content is defined 
differently (using script).

I can certainly see the advantage of having a programmable image. One 
use may be for generating avatars. It would be easier to combine skin 
tone, hair colour, eyes etc programmatically than have thousands of 
images sitting on the server.

I agree that it may be open to abuse but I've never been convinced that 
this is a good reason to disallow anything.

Received on Wednesday, 20 April 2005 15:18:18 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:40 UTC