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

Justin Schuh jschuh at chromium.org
Mon Aug 9 18:39:38 PDT 2010


I'm working on implementing iframe.srcdoc in WebKit, and section 2.5.1
states:

"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?

Thanks,
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100809/3a24f4c5/attachment-0002.htm>


More information about the whatwg mailing list