All Downloads are FREE. Search and download functionalities are using the official Maven repository.

polyfills.~html5-elements.meta.json Maven / Gradle / Ivy

The newest version!
{"browsers":{"ie":"6 - 9","safari":"4"},"aliases":["default-3.3","default-3.4","default-3.5","default-3.6","default","html5shiv"],"license":"MIT","repo":"https://github.com/aFarkas/html5shiv","install":{"module":"html5shiv","paths":["dist/html5shiv.min.js"]},"dependencies":["Document"],"detectSource":"// Primitive detect for HTML5 element support - add a 
element and check that it acquires block display mode by default\n(function() {\n\tvar p = document.createElement('p');\n\tvar result = false;\n\tp.innerHTML = '
';\n\tdocument.documentElement.appendChild(p);\n\tif (p.firstChild) {\n\t\tif ('getComputedStyle' in window) {\n\t\t\tresult = (getComputedStyle(p.firstChild).display === 'block');\n\t\t} else if (p.firstChild.currentStyle) {\n\t\t\tresult = (p.firstChild.currentStyle.display === 'block');\n\t\t}\n\t}\n\tdocument.documentElement.removeChild(p);\n\treturn result;\n})()","testSource":"","baseDir":"~html5-elements","hasTests":false}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy