-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix masks test so that it doesnt count firefox's SVG mask result.
- Loading branch information
Showing
2 changed files
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
|
||
// this tests passes for webkit's proprietary `-webkit-mask` feature | ||
// as well as mozilla's implementation of `mask` for SVG | ||
// www.webkit.org/blog/181/css-masks/ | ||
// developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html | ||
|
||
// http://www.webkit.org/blog/181/css-masks/ | ||
// http://developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html | ||
// it does not pass mozilla's implementation of `mask` for SVG | ||
|
||
// https://developer.mozilla.org/en/CSS/mask | ||
// https://developer.mozilla.org/En/Applying_SVG_effects_to_HTML_content | ||
// 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('mask')); | ||
Modernizr.addTest('cssmask', Modernizr.testAllProps('mask-repeat')); |
314ceda
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is actually broken.
testAllProps expects camel case variant.
Please update string to 'maskRepeat'.