W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Question on iframe.srcdoc address (about:srcdoc)

From: Justin Schuh <jschuh@chromium.org>
Date: Mon, 9 Aug 2010 18:39:38 -0700
Message-ID: <AANLkTi=P93Um=2AnrLZNw1fXWOaigT8WLjvmN0euwndt@mail.gmail.com>
I'm working on implementing iframe.srcdoc in WebKit, and section 2.5.1

"This specification defines the URL about:srcdoc as a reserved, though
unresolvable, about: URI, that is used as the document's address of iframe
srcdoc documents."

It seems like it would make more sense for the address to be the data URL of
the frame's document. This would be easier to implement in WebKit, and I
expect other data URL supporting browsers as well. Is there some reasoning
I'm missing for the decision to use about:srcdoc?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100809/3a24f4c5/attachment.htm>
Received on Monday, 9 August 2010 18:39:38 UTC

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