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

[whatwg] Canvas element

From: Dean Edwards <dean@edwards.name>
Date: Fri, 22 Apr 2005 16:27:27 +0100
Message-ID: <426917DF.8020402@edwards.name>
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;
}

-dean
Received on Friday, 22 April 2005 08:27:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC