Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Common Feature Tests
JavaScript CSS
branch: gh-pages

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README Updated URL
feature_tests.js Fixed 2px extra offset bug in IE<=8, adjusted the IS_POSITION_FIXED_S…
getStyleProperty.js
index.html A little more robust IS_CSS_TRANSFORMATION_SUPPORTED test. (applied t…
master.css Add link to event support detection.
master.js
style.html Add `IS_CANVAS_SUPPORTED` test. Add link to `getStyleProperty` test p…

README

Common Feature Tests (CFT) aims to provide a convenient set of feature tests (duh!) for Javascript (and JScript). It eliminates a need for browser sniffing, providing a much more robust way to work around environment quirks. None of the tests require presence of `document.body` and so can be run at any time.

A "live" version is at http://kangax.github.io/cft/
Something went wrong with that request. Please try again.