Skip to content

Commit

Permalink
Merge pull request Modernizr#671 from bobthecow/master
Browse files Browse the repository at this point in the history
Fix css mask and user-select detects.
  • Loading branch information
paulirish committed Sep 18, 2012
2 parents cbbcea3 + 3c3c77a commit 24b32f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions feature-detects/css-mask.js
@@ -1,4 +1,3 @@

// 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
Expand All @@ -10,4 +9,4 @@

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

Modernizr.addTest('cssmask', Modernizr.testAllProps('mask-repeat'));
Modernizr.addTest('cssmask', Modernizr.testAllProps('maskRepeat'));
2 changes: 1 addition & 1 deletion feature-detects/css-userselect.js
Expand Up @@ -5,6 +5,6 @@


Modernizr.addTest("userselect",function(){
return Modernizr.testAllProps("user-select");
return Modernizr.testAllProps("userSelect");
});

0 comments on commit 24b32f5

Please sign in to comment.