W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Canvas.cloneNode()

From: OmegaJunior <omegajunior@omegajunior.net>
Date: Fri, 30 Oct 2009 17:03:46 +0100
Message-ID: <fdd21a0e0910300903y23bcbfe2u7efa11796e81767a@mail.gmail.com>
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
Received on Friday, 30 October 2009 09:03:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC