User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050728 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050728 Firefox/1.0+
element is not rendered. The canvas element itself is rendered. HTML5 says:
“When authors use the canvas element, they should also provide content that,
when presented to the user, conveys essentially the same function or purpose as
the bitmap canvas. This content may be placed as content of the canvas element.”
“In non-visual media, and in visual media with scripting disabled, the canvas
element should be treated as an ordinary block-level element and the fallback
content should therefore be used instead.”
Steps to Reproduce:
2.View the testcase.
An empty canvas element was displayed.
The content within the canvas element should have been displayed.
Created attachment 190899 [details]
Not a regression; AFAIK we never implemented fallback.
(In reply to comment #3)
> Not a regression; AFAIK we never implemented fallback.
You're right about fallback, but before canvas was implemented, it behaved as
minusing. too late for the 1.5 train and no patch in hand. I'm also basing this
on Vlad's comment.
Created attachment 246575 [details]
test case with an image as fallback content
*** Bug 427400 has been marked as a duplicate of this bug. ***
*** Bug 493707 has been marked as a duplicate of this bug. ***
*** Bug 707806 has been marked as a duplicate of this bug. ***
Created attachment 582269 [details] [diff] [review]
Show canvas fallback content when script is disabled.
This behaviour might be worth to be documented
And mentioned on Firefox 12 for developers.