[html5] 答复: some question about canvas
caoyipeng
caoyp at cn.fujitsu.com
Mon Jan 19 21:54:09 PST 2009
_____
>>I believe that <script> needs type="text/javascript" to work. It certainly
wouldn't hurt.
I don’t think so, type=”text/javascript” can be omitted, and my problem
is about the relationship between different tags,
when one tag is another tag’s child, but thanks anyway.
_____
From: caoyp at cn.fujitsu.com
To: help at lists.whatwg.org
Date: Tue, 20 Jan 2009 09:45:30 +0800
Subject: [html5] some question about canvas
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: caoyp at cn.fujitsu.com
_____
Share your holiday memories for free with Windows Live(tm) Photos. Get
started now. <http://www.microsoft.com/windows/windowslive/photos.aspx>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/help-whatwg.org/attachments/20090120/6a690772/attachment-0002.htm>
More information about the Help
mailing list