Re: img issue: should we restrict the URI

On Fri, 25 Jan 2008 18:48:18 +0100, Jeff Schiller <codedread@gmail.com>  
wrote:
> Thanks for the update from Opera (haven't had time to test/read up on
> it lately).  I'm all for restricting scriptability on images.

"SVG as image" is basically SVG with scripting disabled and no event  
interaction. Ideally "declarative" animations still run as long as they  
don't depend on events. I believe in Opera they currently run for <img>,  
but not for 'background-image'.


> As for interactivity:  FWIW, the suggestion that an image is
> non-interactive contradicts Simon's suggestion [1] with respect to the
> usemap attribute.  I would suggest that the map is what is interactive
> here, and not the image itself.

I only said that scripts were disabled... Anyway, as for being  
non-interactive, it is true that if the <img> has ismap= or usemap=  
specified things are slightly different.


> What about animated GIFs - what if some user agent allows you to
> restart/freeze/loop the animated GIF?  That is technically interaction
> and by my simple definition it would not be allowed on an image...
> what about panning?  That's interactivity too...
>
> So perhaps "non-interactive" is too restrictive a term?

Non-interactive in the context of HTML 5 is as far as the Web page is  
concerned. <blockquote> is also non-interactive yet the user agent could  
offer a way to get to the citation URI.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Friday, 25 January 2008 18:02:23 UTC