[whatwg] Canvas.cloneNode()

OmegaJunior omegajunior at omegajunior.net
Fri Oct 30 09:03:46 PDT 2009


Greetings,

Since Last Call was announced and I just ran into this problem, hereby
this question:

If an image is drawn on a Canvas element, and subsequently the
javascript function cloneNode(true) is executed for that element,
should the clone include a copy of the source canvas image, or should
it show an empty space?

>From my perspective (the web author), I'd prefer to have the canvas
image included when executing (the deep) cloneNode(true), and excluded
it when using (the shallow) cloneNode(false).

Sincerely,
A.E.Veltstra
OmegaJunior.Net


More information about the whatwg mailing list