Questions tagged [browser-feature-detection]

Feature detection is the practice in web development of determining whether a browser or device supports a certain feature, so as to provide fallbacks for older browsers or allow enhanced functionality in more capable modern browsers.

Feature detection is the practice in web development of determining whether a browser or device supports a certain feature, so as to provide fallbacks for older browsers or allow enhanced functionality in more capable modern browsers.

160 questions
2
votes
2 answers

How can I test for browser support for an event

Specifically, testing to see if input[type=date] fires the input event?
wheresrhys
  • 22,558
  • 19
  • 94
  • 162
2
votes
3 answers

How would I detect CSS Transition support on :before pseudo-elements with javascript?

I'm trying to use CSS Transitions with a :before selector and currently the only browser that supports this is Firefox. I can create a jQuery fallback with no problem, but I'm not sure how to do feature detection with a pseudo-element like…
1
vote
1 answer

Detect CSS Matrix support

I'm using Modernizr for feature detection and TransformJS for animating CSS3D properties. TransformJS uses the CSS matrix for styling translate, scale and rotate properties and it works fine, even in IE since it supports matrix transformations via…
Kristof
  • 304
  • 3
  • 9
1
vote
1 answer

javascript detect option tag text indent feature or detect type of browser as a fallback

I have a select drop-down that is supposed to represent the hierarchy of pages in a site.