Skip to content

Conversation

mikewest
Copy link
Contributor

Good morning, lovely Modernizr folks. This patch adds support for a few interesting iframe attributes:

  • @sandbox enables granular restriction of the permissions with which
    framed content is allowed to run.
  • @seamless renders iframe elements as though they were part of the
    containing document. CSS bleeds through, and links open in the parent
    window, for instance.
  • @srcdoc provides the content that the frame ought to display.

All three are implemented in WebKit, and are specified in the "The iframe
element" section of the WHATWG HTML living standard
.

Thanks!

* @sandbox enables granular restriction of the permissions with which
  framed content is allowed to run.

* @seamless renders `iframe` elements as though they were part of the
  containing document. CSS bleeds through, and links open in the parent
  window, for instance.

* @srcdoc provides the content that the frame ought to display.

All three are implemented in WebKit, and are specified in the ["The iframe
element" section of the WHATWG HTML living standard][1].

[1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html
ryanseddon added a commit that referenced this pull request Aug 11, 2012
Detects for sandbox, seamless and srcdoc iframe attributes, closes #652
@ryanseddon ryanseddon merged commit 58221c7 into Modernizr:master Aug 11, 2012
@ryanseddon
Copy link
Member

Thanks @mikewest good stuff.

@mikewest
Copy link
Contributor Author

Thanks for merging so quickly. :)

@paulirish
Copy link
Member

Lookin sharp! thank you sir

patrickkettner pushed a commit to patrickkettner/Modernizr that referenced this pull request Feb 22, 2015
Detects for sandbox, seamless and srcdoc iframe attributes, closes Modernizr#652
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants