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 0ed497b045
commit 4694118ef7

View File

@ -139,7 +139,7 @@ jQuery.support = (function() {
}
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