[whatwg] Canvas.cloneNode()
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
[whatwg] Canvas.toDataURL() browser implementations
Dear WhatWG list, Since the last implementation report for the Canvas element in HTML5 was updated last February, I thought it wise to report that: The Canvas.toDataURL() method was found implemented by the following browsers: Opera 10 beta 2 (including support for image/png and image/jpeg) Google Chrome 3.0 (support for required image/png, no support for optional image/jpeg) Mozilla Firefox 3.5 (including support for image/png and image/jpeg) The Canvas.toDataURL() method isn't implemented by Microsoft Internet Explorer 8. Cheers, A.E.Veltstra OmegaJunior.Net
[whatwg] drawImage() - image argument description for animation
Currently the drawImage() function defines the following behaviour for its image argument if that happens to represent an animation: When the drawImage() method is passed, as its image argument, an HTMLImageElement representing an animated image, the poster frame of the animation, or the first frame of the animation if there is no poster frame, must be used. This seems grammatically incorrect (but isn't). However, I found it a bit convoluted, and had to read it several times before understanding what was intended. Perhaps the following improves its transparency: If the HTMLImageElement passed to the drawImage() method represents an animation, then the poster frame of that animation, or its first frame if there is no poster frame, must be used. I'll argue that mentioning that the image is supposed to be passed as the method's image argument appears redundant, which means it can be omitted without losing accuracy. -- Sincerely, OmegaJunior.Net A.E.Veltstra