mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Opera 12.0 still implements an older version of the DOM so cloneNode cannot be called without an argument
This commit is contained in:
parent
d4e666d475
commit
7cc629d097
@ -65,7 +65,7 @@ jQuery.support = (function() {
|
|||||||
support.focusinBubbles = "onfocusin" in window || div.attributes.onfocusin.expando === false;
|
support.focusinBubbles = "onfocusin" in window || div.attributes.onfocusin.expando === false;
|
||||||
|
|
||||||
div.style.backgroundClip = "content-box";
|
div.style.backgroundClip = "content-box";
|
||||||
div.cloneNode().style.backgroundClip = "";
|
div.cloneNode( true ).style.backgroundClip = "";
|
||||||
support.clearCloneStyle = div.style.backgroundClip === "content-box";
|
support.clearCloneStyle = div.style.backgroundClip === "content-box";
|
||||||
|
|
||||||
// Run tests that need a body at doc ready
|
// Run tests that need a body at doc ready
|
||||||
|
Loading…
Reference in New Issue
Block a user