W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2010

[whatwg] Javascript: URLs as element attributes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 30 Nov 2010 14:32:06 -0500
Message-ID: <4CF55136.6080602@mit.edu>
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....

-Boris
Received on Tuesday, 30 November 2010 11:32:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:28 UTC