How can we improve the Microsoft Edge developer experience?

iframe[srcdoc] attribute

Gives the content of an iframe as a src context to embed (e.g. <iframe seamless srcdoc="<b>Hello World</b>"></iframe>).

Spec: http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#attr-iframe-srcdoc

355 votes
Vote
Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
You have left! (?) (thinking…)
Jonathan Sampson [MSFT] shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

3 comments

Sign in
(thinking…)
Sign in with: facebook google
Signed in as (Sign out)
Submitting...
  • Philipp Junghannß (My1) commented  ·   ·  Flag as inappropriate

    what is this joke? under consideration for over a year now although EVERYTHING (except opera mini, according to caniuse) supports this by now.

  • Anonymous commented  ·   ·  Flag as inappropriate

    yes there is: you can use the sandbox attribute to sandbox the content (something which cannot be done with web components afaik).

  • Anonymous commented  ·   ·  Flag as inappropriate

    Is there an advantage of this over web components? If not, I believe web components should be done first.

Feedback and Knowledge Base