[whatwg] Canvas element

Dean Edwards dean at edwards.name
Fri Apr 22 08:27:27 PDT 2005

Rob Mientjes wrote:
> On 4/22/05, Jim Ley <jim.ley at gmail.com> wrote:
>>>It has the semantics of a rendering context to which scripts can draw.
>>So it only has presentational semantics, so should be in a rendering
>>language like CSS?
> That's the endless quandry. 'CSS can only do so much!' 'Markup should
> be about content, not presentation.'
> Maybe someone else can think of a suitable description that doesn't
> get in the way of anti-presentational markup purists.

HTML:  IMG               -->  CANVAS
CSS:   background-image  -->  background-canvas ?

div#flag {
   background-canvas: draw;

div#flag.blank {
   background-canvas: none;


More information about the whatwg mailing list