W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 03 Nov 2011 17:29:06 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RM16A-0004Go-OK@jessica.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 3 November 2011 17:31:23 GMT