-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Added pseudo-element testing API #904
base: master
Are you sure you want to change the base?
Conversation
… w/ tests Added pseudo-element reveal feature detect
Cool, thanks — especially for including a test. Including this in its current state could well result in a bit of code bloat though — we already have functions which can do a lot of this; such that e.g. our detect for I'm wondering if we could refactor this to provide the same API ( We could also use Modernizr.addTest('reveal', selectorSupported('::reveal')); |
Thanks @stucox, I'll look into those functions and see what I can come up with. |
Hi, Is Note that I am using a custom build of Modernizr (generated today) - is this a special option that I need to enable in my build? Thanks, |
Hey @dotherightthing nosir, this hasn't been merged, so it is not a part of the test. Was there something in particular you were looking for? |
Hi, just updated my question :) Cheers |
Its not a part of modernizr. We already have a detect for |
Hi @patrickkettner, thanks for the heads up. So do I need to copy the linked |
:[ If you just want to cut and paste the test, you should be able to copy this bit into a custom build of modernizr from the .com builder. Just change testStyles to Modernizr.testStyles, and createElement to document. createElement. |
Hey no worries, appreciate the great work you guys are doing! :) I'll copy and paste for now, and if it's not working I'll try the other option. Cheers. |
good luck! |
@willfarrell - were you still interested in getting this merged in? |
Yeah I would, all my project have been using a custom version of moderizr for the better part of a year now. Would love to keep modernizr up to date with bower. |
Great to hear! do you need any guidance? |
ping @willfarrell |
Sorry, works been crazy. Clearly I don't have time to address carry this over the finish line. If I have time in the future I'll submit a new PR. Anyone else that would like to take it forward, please do so. |
No problem at all, @willfarrell! Sorry if you felt pressured as all :[ I'll leave this open for now so we don't forget about it :D |
Added selectorSupported() from https://gist.github.com/paulirish/441842 w/ tests
Added pseudo-element reveal feature detect