@@ 5890-5909 (lines=20) @@ | ||
5887 | }; |
|
5888 | } |
|
5889 | ||
5890 | if ( document.defaultView && document.defaultView.getComputedStyle ) { |
|
5891 | getComputedStyle = function( elem, newName, name ) { |
|
5892 | var ret, defaultView, computedStyle; |
|
5893 | ||
5894 | name = name.replace( rupper, "-$1" ).toLowerCase(); |
|
5895 | ||
5896 | if ( !(defaultView = elem.ownerDocument.defaultView) ) { |
|
5897 | return undefined; |
|
5898 | } |
|
5899 | ||
5900 | if ( (computedStyle = defaultView.getComputedStyle( elem, null )) ) { |
|
5901 | ret = computedStyle.getPropertyValue( name ); |
|
5902 | if ( ret === "" && !jQuery.contains( elem.ownerDocument.documentElement, elem ) ) { |
|
5903 | ret = jQuery.style( elem, name ); |
|
5904 | } |
|
5905 | } |
|
5906 | ||
5907 | return ret; |
|
5908 | }; |
|
5909 | } |
|
5910 | ||
5911 | if ( document.documentElement.currentStyle ) { |
|
5912 | currentStyle = function( elem, name ) { |
@@ 6706-6722 (lines=17) @@ | ||
6703 | } |
|
6704 | }); |
|
6705 | ||
6706 | if ( document.defaultView && document.defaultView.getComputedStyle ) { |
|
6707 | getComputedStyle = function( elem, name ) { |
|
6708 | var ret, defaultView, computedStyle; |
|
6709 | ||
6710 | name = name.replace( rupper, "-$1" ).toLowerCase(); |
|
6711 | ||
6712 | if ( (defaultView = elem.ownerDocument.defaultView) && |
|
6713 | (computedStyle = defaultView.getComputedStyle( elem, null )) ) { |
|
6714 | ret = computedStyle.getPropertyValue( name ); |
|
6715 | if ( ret === "" && !jQuery.contains( elem.ownerDocument.documentElement, elem ) ) { |
|
6716 | ret = jQuery.style( elem, name ); |
|
6717 | } |
|
6718 | } |
|
6719 | ||
6720 | return ret; |
|
6721 | }; |
|
6722 | } |
|
6723 | ||
6724 | if ( document.documentElement.currentStyle ) { |
|
6725 | currentStyle = function( elem, name ) { |