W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Re: IMG tag

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Wed, 16 Jan 2008 00:37:20 -0800
Message-ID: <c9e12660801160037v13f92ef2hbdf4a33c961b3164@mail.gmail.com>
To: "Jon Barnett" <jonbarnett@gmail.com>
Cc: Wesley.Upchurch@semcoinc.com, public-html@w3.org

On Jan 15, 2008 1:32 PM, Jon Barnett <jonbarnett@gmail.com> wrote:
>
> On Jan 15, 2008 9:33 AM,  <Wesley.Upchurch@semcoinc.com> wrote:
> >
> > Thoughts on the IMG tag:
> >
> > Because the draft says there still needs to be discussion on this: [Should
> > we restrict the URI to pointing to an image? What's an image? Is PDF an
> > image? (Safari supports PDFs in <img> elements.) How about SVG? (Opera
> > supports those). WMFs? XPMs? HTML?] ....
>
> My thought is that an image is anything with an image/* MIME type,
> which would include SVG, but not PDF, though I can see the case for
> PDFs.
>
It might compromise security if the plugin runs javascript.

Acrobat 7 can execute javascript in the url.

Garrett

>
> --
> Jon Barnett
>
>



-- 
Monkey, so they say, is the root of all people today.
Received on Wednesday, 16 January 2008 08:37:26 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:52 UTC