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