Skip to content

Commit

Permalink
Merge pull request Modernizr#571 from alrra/modernizr
Browse files Browse the repository at this point in the history
Browser support test for <style scoped>
  • Loading branch information
paulirish committed Apr 30, 2012
2 parents 7151add + 3e7d1c6 commit 23d1f8d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions feature-detects/style-scoped.js
@@ -0,0 +1,6 @@
// Browser support test for <style scoped>
// http://www.w3.org/TR/html5/the-style-element.html#attr-style-scoped
//
// by @alrra

Modernizr.addTest( 'stylescoped', 'scoped' in document.createElement('style') );

0 comments on commit 23d1f8d

Please sign in to comment.