W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2013

Re: [whatwg] <iframe srcdoc> definition not compatible with existing user-agent user interfaces

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 05 Apr 2013 11:01:55 -0400
Message-ID: <515EE763.3090708@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: whatwg <whatwg@lists.whatwg.org>
On 4/5/13 1:15 AM, Tab Atkins Jr. wrote:
> Are you asking to switch back to data urls instead of srcdoc, or are
> you asking for a way to generate an equivalent data url from the
> contents?

I don't have a proposed solution so far.  I just have a problem.  The 
problem is that UAs that implement <iframe srcdoc> per spec end up with 
broken UI.  Safari certainly does, and so will Firefox with the current 
srcdoc patches.

Generating an equivalent data: URL may not be good enough as a solution, 
because that would require teaching all sorts of extensions and other 
code that assumes that loading a url will give you the data about this 
special case.

Having the url of the document end up something like about:srcdoc?abcdef 
where dereferencing it gives you the right data _may_ be a solution.

But again, I don't have a solution so far, just the spec as-is causing 
obviously broken UAs.

Received on Friday, 5 April 2013 15:02:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:57 UTC