andreasplesch / x_ite_dom

link x_ite to the DOM
http://andreasplesch.github.io/x_ite_dom/index.xhtml
MIT License
6 stars 0 forks source link

scripts #2

Closed andreasplesch closed 7 years ago

andreasplesch commented 8 years ago

look into <script type='application/vrmlscript'> say. Idea is that cobweb still processes (evals) the script content while the browser just treats it as data.

https://www.w3.org/TR/html5/scripting-1.html#script

https://www.w3.org/TR/html5/scripting-1.html#support-the-scripting-language

http://www.bitmanagement.com/developer/spec/vrmlscript/vrmlscript.html#MIMEtype

The old mime type is application/x-vrmlscript .

andreasplesch commented 8 years ago

http://www.web3d.org/x3d/content/examples/Basic/ScriptConformance/_pages/page13.html

as example.

andreasplesch commented 7 years ago

tests/x3d_scripts.xhtml works well using type attribute for x3d script.