| Summary: | The build-in IE9 of Eclipse3.6.2 does not support the new tags of HTML5. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | zhaojian <zhaoj> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | grant_gayed, pwebster, thatnitind | ||||||
| Version: | 3.6.2 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 189912 [details]
Running result in IE9.
Created attachment 189913 [details]
Running result in eclipse3.6.2.
(In reply to comment #2) > Created attachment 189913 [details] > Running result in eclipse3.6.2. Additional remarks: After <meta http-equiv="X-UA-Compatible" content="IE=9"></meta> element has been added to the html file, eclipse will support html5 tab. The sample content is as follows: <!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9"></meta> </head> <body> <canvas id="myCanvas">your browser does not support the canvas tag </canvas> <script type="text/javascript"> var canvas=document.getElementById('myCanvas'); var ctx=canvas.getContext('2d'); ctx.fillStyle='#FF0000'; ctx.fillRect(0,0,80,100); </script> </body> </html> Additional remark. (In reply to comment #4) > Additional remark. When undefining the <meta> element in the IE 9, html5 tags can be displayed.In the eclipse environment,the <meta> element must be added to the html file for tags can be displayed. I hope eclipse can provides some function to control the <meta> element,or still display html5 tags without the <meta> element. Thanks! *** This bug has been marked as a duplicate of bug 328609 *** |
Build Identifier: 20110218-0911 In the environment of Win7 with IE9 installed, the build-in IE9 browser in Eclipse3.6.2 does not support new tags of HTML5, while they are supported by IE9 browser. Reproducible: Always Steps to Reproduce: 1.Create a file test.html with HTML5 tab,the content of file is as follows: <!DOCTYPE HTML> <html> <body> <canvas id="myCanvas">your browser does not support the canvas tag </canvas> <script type="text/javascript"> var canvas=document.getElementById('myCanvas'); var ctx=canvas.getContext('2d'); ctx.fillStyle='#FF0000'; ctx.fillRect(0,0,80,100); </script> </body> </html> 2.Open the file using IE9. 3.Create the dynamic Web project test in Eclipse3.6.2, copy test.html file to the project, and open the file using Web Browser.