Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CSS filters #7

Open
danro opened this issue Apr 18, 2013 · 0 comments
Open

Support CSS filters #7

danro opened this issue Apr 18, 2013 · 0 comments

Comments

@danro
Copy link
Collaborator

danro commented Apr 18, 2013

cc @josephschmitt

Would need to add a feature detect for this, and implement a property class similar to Transform.

Feature detect from modernizr:

// https://github.com/Modernizr/Modernizr/issues/615
// documentMode is needed for false positives in oldIE, please see issue above
Modernizr.addTest('cssfilters', function() {
    var el = document.createElement('div');
    el.style.cssText = Modernizr._prefixes.join('filter' + ':blur(2px); ');
    return !!el.style.length && ((document.documentMode === undefined || document.documentMode > 9));
});;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant