3 ms·
Thanks for the reply. I was planning on using some of the features like localStorage and notifications etc and not just css3 features for making things look bet
by prateekdayal 16y ago
Thanks for the reply. I was planning on using some of the features like localStorage and notifications etc and not just css3 features for making things look better. Nevertheless, I think its a good idea to have graceful degradation.
- ashamedlion 16y agoAh yes, those are good ones to use. I say screw it and use stuff like that. Just make sure that on your marketing page you explicitly say which browsers are supported so that you don't get a bunch of angry customers :)
- Isofarro 16y agoUse wrapper methods/classes for each of those HTML5 specific features. Initially, probably for most of the early adopter phase you can get away with using/expecting the HTML5 feature to be present. When you do need to support browsers that don't support or brokenly support those features, you can add in support at the wrapper level without having to do any serious refactoring. Also, keep a careful eye on the HTML5 draft recommendations, just in case features change their implementations. It's unlikely for a feature supported in two independent modern browsers to change unless there's a fundamental problem, or patent workaround needed.