[whatwg] Javascript: URLs as element attributes

On Wed, 01 Dec 2010 19:11:25 +0100, timeless <timeless at gmail.com> wrote:
> On Wed, Dec 1, 2010 at 5:29 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
>> Oh, the other thing that JavaScript can do that data: can't do is trade  
>> off url length for CPU time.  A data: URI to write out the first 3000  
>> Fibonacci numbers would be a lot longer than the equivalent javascript:  
>> URI. Again, one would have to find non-silly use cases here.
>
> mandelbrot sets

These can also be done with data:text/html,<script>...</script> and maybe  
<canvas>. It is slightly longer, but not much.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 1 December 2010 10:18:44 UTC