- From: Charles Pritchard <chuck@jumis.com>
- Date: Mon, 14 May 2012 17:58:09 -0700
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: "public-webapps@w3.org" <public-webapps@w3.org>
On May 14, 2012, at 5:50 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote: > On 5/14/12 8:21 PM, Charles Pritchard wrote: >> SVG and animated gif would render the same as it would in an >> Image that has not been added to the dom or is otherwise display: none. > > I'm not sure that would be workable in a worker for SVG, for the same reasons that responseXML is not available in workers: it involves DOM elements. Unless the SVG rasterization happens on the main thread under the hood and the raster data is then sent over to the worker. This might have ... surprising performance characteristics. I agree... Can we get this off the main thread? Svg via image is not quite the same as svg via HTMLDocument (I guess I mean, embedded). Afaik, svg via image does not have any script controls but it does have xsl things. I've never tried to abuse the distinction via embedded blob Uris and such. Put in other words: <img src=image.svg> may use an entirely different implementation than <svg> in an HTML document.
Received on Tuesday, 15 May 2012 00:58:35 UTC