css-mask.js 560 B

123456789101112
  1. // this tests passes for webkit's proprietary `-webkit-mask` feature
  2. // www.webkit.org/blog/181/css-masks/
  3. // developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html
  4. // it does not pass mozilla's implementation of `mask` for SVG
  5. // developer.mozilla.org/en/CSS/mask
  6. // developer.mozilla.org/En/Applying_SVG_effects_to_HTML_content
  7. // Can combine with clippaths for awesomeness: http://generic.cx/for/webkit/test.html
  8. Modernizr.addTest('cssmask', Modernizr.testAllProps('maskRepeat'));