[Bug 12715] When used to include data blocks (as opposed to scripts), the data must be embedded inline

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12715

piersh@hotmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |piersh@hotmail.com

--- Comment #3 from piersh@hotmail.com 2011-11-03 17:29:05 UTC ---
Is there some reason that this functionality was removed from html?

It seems to me to be a shame to disallow non-inline, non-'text/javascript'
script blocks.

I'd like to be able to do this:

    <script id="fragmentShader" type="x-shader/x-fragment"
src="fragmentShader.cg" onload="compileShader(this);"/>

But the spec doesn't allow it. Instead I have to jump through XHR hell just to
load some text. :(

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 3 November 2011 17:31:21 UTC