css-supports.js 324 B

123456
  1. // http://dev.w3.org/csswg/css3-conditional/#at-supports
  2. // github.com/Modernizr/Modernizr/issues/648
  3. // Relies on the fact that a browser vendor should expose the CSSSupportsRule interface
  4. // http://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface
  5. Modernizr.addTest("supports","CSSSupportsRule" in window);