[whatwg] Proposal: @srctype or @type on <iframe>

Boris Zbarsky bzbarsky at MIT.EDU
Tue Jul 13 00:26:53 PDT 2010


On 7/12/10 11:31 PM, Gordon P. Hemsley wrote:
> The particular use case that prompted me to think about this is
> including a PDF via <iframe>. In Firefox (last I checked), one is
> required to install a separate add-on in order to support in-browser
> display of PDF files on Mac OS X, since there is no native or integrated
> Adobe Reader support available.

I'm pretty sure you can install the Adobe Reader plug-in on Mac if you 
want to.

> Without the add-on, the user will be prompted to download the PDF file

Which is exactly what would happen for a type="application/pdf" iframe, 
no?  Silently not showing the content doesn't seem acceptable.

-Boris



More information about the whatwg mailing list