Skip to content

Commit

Permalink
add css mask detect. fixes Modernizr#208
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Dec 12, 2011
1 parent 6d6d14e commit 1b08f16
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions feature-detects/css-mask.js
@@ -0,0 +1,10 @@


// Non-standard feature available in webkit only, so far.

// http://www.webkit.org/blog/181/css-masks/
// http://developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html

// Can combine with clippaths for awesomeness: http://generic.cx/for/webkit/test.html

Modernizr.addTest('cssmask', Modernizr.testAllProps('mask'));

0 comments on commit 1b08f16

Please sign in to comment.