Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument

This commit is contained in:
jaubourg 2013-01-08 11:15:36 +01:00
parent d4e666d475
commit 7cc629d097

View File

@ -65,7 +65,7 @@ jQuery.support = (function() {
support.focusinBubbles = "onfocusin" in window || div.attributes.onfocusin.expando === false;
div.style.backgroundClip = "content-box";
div.cloneNode().style.backgroundClip = "";
div.cloneNode( true ).style.backgroundClip = "";
support.clearCloneStyle = div.style.backgroundClip === "content-box";
// Run tests that need a body at doc ready