[whatwg] JavaScipt in output?
ian at hixie.ch
Wed Feb 13 20:11:01 PST 2008
On Tue, 6 Mar 2007, Anne van Kesteren wrote:
> On Mon, 05 Mar 2007 20:33:55 +0100, Ian Hickson <ian at hixie.ch> wrote:
> > >
> > > Are there any restrictions on what you can put in such an attribute?
> > It's an open issues in HTML5. In HTML4, there's a Content-Script-Type
> > thing that can be used, I guess we could move this into HTML5 too now
> > that we have the pragma directives thing.
> So if Content-Script-Type is not a MIME type user agents support they
> must ignore all event handlers? What if a <script> element in the page
> I suppose it could be made to work... If nobody has set
> Content-Script-Type to some weird value that would stop their site from
Nobody currently supports this as far as I can tell:
If someone can convince a browser vendor or two to implement this, it
would go a long way towards arguing for it to be in the spec. There's no
point adding it if nobody is going to follow it.
I'll look into how common it is, too. However, even if it's used with
random values, we can always introduce a new value. That's not a problem.
The problem is getting people to implement it, IMHO.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg