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