[whatwg] Javascript: URLs as element attributes

Boris Zbarsky bzbarsky at MIT.EDU
Tue Nov 30 11:32:06 PST 2010

On 11/30/10 4:35 AM, Philip Jägenstedt wrote:
> So far, it seems that the fastest way to reach compat between browsers
> is to simply not run inline javascript: URLs.

One other thing.... since this is a generic protocol, if we define 
special-case behavior for it in some cases (e.g. <img>), that opens up 
some cans of worms.  For example, what should url("javascript:") do in 
CSS?  HTML5 seems like the wrong place to define that....


More information about the whatwg mailing list