The features that can’t be detected by checking idle are checked by ____________

The features that can’t be detected by checking idle are checked by ____________
A. Modernizr.prefixedCSS
B. Modernizr.testAllProps
C. Modernizr.testStyles
D. Modernizr.testProp
 
Answer: c
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
Code:
Modernizr.testStyles (rule,callback,[nodes],[testnames]).
We can add additional div elements also on the page as per requirement. Modernizr.prefixedCSS is same like Modernizr.prefixed except it returns result in hyphenated form.
 

Tìm kiếm

Back
Top