[whatwg] Unnecessary loading of fallback content in canvas element
benjamin.poulain at nokia.com
Sat Jan 8 08:41:33 PST 2011
On 01/08/2011 12:57 AM, ext Charles Pritchard wrote:
> Let me know if this has been discussed before:
> Loading an html page containing:
> <canvas><img src="fallback.jpg" /></canvas>
> loads the fallback.jpg image, even when canvas is supported.
> Is this intentional, or simply the easiest route for the moment?
I would say that is the indented behavior.
If you look at the specification
fallback content, you will find that it is still available when Canvas
"When a canvas element represents embedded content, the user can still
focus descendants of the canvas element (in the fallback content)."
Since the content is available, I think it is normal for it to follow
the normal behavior.
More information about the whatwg