Can someone shed some light on the rationale and usefulness of the inline "iframe" and "srcdoc" attributes? I read the description, I understand how they work, but I'm not sure what they are good for.
The idea is that you can sandbox e.g. social buttons by putting them in a sandboxed iframe. You can also populate the iframe's without extra HTTP-requests by the iframe, by using "srcdoc". This is a perfect way to sandbox user generated comments on your blog.
I recommend reading [1] as it covers all of this.
[1]: http://www.html5rocks.com/en/tutorials/security/sandboxed-if...