Drawing Graphics with Canvas

Anne van Kesteren <[email protected]> Sat, 07 May 2005 17:46:24 +0200
Newsgroups gmane.comp.mozilla.documentation
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
<http://developer-test.mozilla.org/docs/Drawing_Graphics_with_Canvas>

Although our implementation is based on Safari it is different. For 
example, since about 14 hours we recognize </canvas> and our DOM tree of

  <canvas>
   <span> foo </span>
  </canvas>

... is not:

  CANVAS
  SPAN

... but:

  CANVAS
   SPAN

... so SPAN is a child element instead of a sibling element. AFAIK in 
Safari it is not.

There are some other differences like that in Mozilla canvas inherits 
from the generic HTML DOM interface and not from the IMG interface and 
such (as specified by WHATWG).

I should probably create an account some day. Just posting it here so it 
gets archived.


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>