Working with the new CSS Typed Object Model
if (window.CSS && CSS.number) { // Supports CSS Typed OM. }