1.

The features that can’t be detected by checking idle are checked by ____________(a) Modernizr.prefixedCSS(b) Modernizr.testAllProps(c) Modernizr.testStyles(d) Modernizr.testPropI have been asked this question during an online exam.Question is taken from Adding HTML features safely with Modernizr topic in chapter HTML Images & Web Page Files of HTML

Answer»

Correct answer is (c) Modernizr.testStyles

Explanation: Modernizr.testProp is just like Modernizr.testAllProps but only difference is it doesn’t check for vendor. The features that can’t be check by IDL is checked by Modernizr.testStyles, it takes CSS RULE and embed it ONTO current page with DOM elements. SYNTAX is



Discussion

No Comment Found

Related InterviewSolutions