[html5] some question about canvas

caoyipeng caoyp at cn.fujitsu.com
Mon Jan 19 17:45:30 PST 2009


I wrote a html file like this:

<canvas id="mycanvas">

         <script> alert("hello")

         </script>

</canvas>

 

In firefox safari chrome the hello dialog showed. But didn't in opera.

I remember that in html5 it says that the context in canvas tag should be
ignored.

But I can find where it says so. What is the relationship on earth between
canvas and 

Other tag ? thank you for taking time and trouble to consider my problem 

 

Regards
C.Y.P.

 

Cao Yipeng
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
8/F., Civil Defense Building, No.189 Guangzhou Road,
Nanjing, 210029, China
TEL: +86+25-86630566-817
COINS: 79955-817
FAX: +86+25-83317685
MAIL:  <mailto:caoyp at cn.fujitsu.com> caoyp at cn.fujitsu.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20090120/8d70fa03/attachment-0001.htm>


More information about the Help mailing list