mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Updated the comment above the fix
This commit is contained in:
parent
d5d8622329
commit
f952b97997
@ -589,8 +589,8 @@ jQuery.extend({
|
|||||||
fix8908;
|
fix8908;
|
||||||
|
|
||||||
if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
|
if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
|
||||||
// Fixes #8909 - By accessing one of the cloned element's computed styles it breaks the
|
// Fixes #8909 - By accessing one of the element's computed styles it breaks the
|
||||||
// connection with the source element's styles in IE9/10
|
// connection with the cloned element's styles in IE9/10
|
||||||
if ( elem.nodeType === 1 && window.getComputedStyle ) {
|
if ( elem.nodeType === 1 && window.getComputedStyle ) {
|
||||||
fix8908 = ( window.getComputedStyle( elem, null ) || {} ).backgroundImage;
|
fix8908 = ( window.getComputedStyle( elem, null ) || {} ).backgroundImage;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user