[whatwg] Canvas and DOM elements
Andrew Fedoniouk
news at terrainformatica.com
Thu May 4 23:14:34 PDT 2006
Having dedicated DOM element (<canvas>) for drawings looks a bit strange as
a design decision.
Logically any block DOM element can provide graphics.
Ideally getContext method should have one more parameter - layer -
background/content/foreground -
so graphics could be mixed with the content of the element, drawn on top
and/or below the content.
<optional>
Only as an example, Sciter allows to draw on any block element:
http://terrainformatica.com/sciter/sciter.zip at
http://terrainformatica.com/sciter/
Samples are in /samples/graphics/*.htm
</optional>
Andrew Fedoniouk.
http://terrainformatica.com
More information about the whatwg
mailing list