Useful. Sadly, I don't see detection for @font-face -- perhaps because it's not very simple? http://paulirish.com/2009/font-face-feature-detection/
No-Bullshit Guide to Detecting Everything in HTML5
21–30 of 37 posts
Re: No-Bullshit Guide to Detecting Everything in HTML5
#22So is there a handy table showing the results of all these tests in all* browsers? *within reason obviously...
Re: No-Bullshit Guide to Detecting Everything in HTML5
#23Useful. Sadly, I don't see detection for @font-face -- perhaps because it's not very simple? http://paulirish.com/2009/font-face-feature-detection/
Re: No-Bullshit Guide to Detecting Everything in HTML5
#24Wow, it's so intuitive.
Re: No-Bullshit Guide to Detecting Everything in HTML5
#25Here, check your browsers: http://mylittlehacks.appspot.com/html5
Re: No-Bullshit Guide to Detecting Everything in HTML5
#26Useful. Sadly, I don't see detection for @font-face -- perhaps because it's not very simple? http://paulirish.com/2009/font-face-feature-detection/
Re: No-Bullshit Guide to Detecting Everything in HTML5
#27Wow, it's so intuitive.
Yes, it screams for a wrapper library. Might take all of 10 minutes to design the API.
http://github.com/Modernizr/Modernizr
My longer chapter on detecting HTML5 features ( http://diveintohtml5.org/detect.html ) explains the detection patterns, and shows how to detect things with or without Modernizr. I've been working with the Modernizr developers to expand their detections, and at the same time some of the code in this guide is taken directly from Modernizr.
Re: No-Bullshit Guide to Detecting Everything in HTML5
#28Excuse my ignorance, what's the !! for?
Re: No-Bullshit Guide to Detecting Everything in HTML5
#29Re: No-Bullshit Guide to Detecting Everything in HTML5
#30Useful. Sadly, I don't see detection for @font-face -- perhaps because it's not very simple? http://paulirish.com/2009/font-face-feature-detection/