MCPcopy
hub / github.com/Modernizr/Modernizr / testProp

Function testProp

test/browser/integration/prefixedCSS.js:46–57  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

44 }
45
46 function testProp(prop) {
47 var prefixed = gimmePrefix(cssToDOM(prop));
48 if (prefixed) {
49 it('results for ' + prop + ' match the homebaked prefix finder', function() {
50 expect(Modernizr.prefixedCSS(prop)).to.be.equal(domToCSS(prefixed));
51 });
52 } else {
53 it('results for ' + prop + ' match the homebaked prefix finder', function() {
54 expect(Modernizr.prefixedCSS(prop)).to.be.equal(false);
55 });
56 }
57 }
58
59 testProp('animationProperty');
60 testProp('fontFeatureSettings');

Callers 4

textshadow.jsFile · 0.85
fontdisplay.jsFile · 0.85
prefixedCSS.jsFile · 0.85
testProp.jsFile · 0.85

Calls 3

gimmePrefixFunction · 0.70
cssToDOMFunction · 0.70
domToCSSFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…