<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">I'm working on implementing iframe.srcdoc in WebKit, and section 2.5.1 states:<div><div><span><br></span></div></div></span><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><div><span>"This specification defines the </span>URL about:srcdoc as a reserved, though unresolvable, about: URI, that is used as the document's address of iframe srcdoc documents."</div>
</div></span></blockquote><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><br></div><div>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?</div>
<div><br></div><div>Thanks,</div><div>Justin</div><div><br></div></span>