( elem )
| 829 | |
| 830 | // A helper method for determining if an element's values are broken |
| 831 | function color( elem ) { |
| 832 | if ( !jQuery.browser.safari ) |
| 833 | return false; |
| 834 | |
| 835 | // defaultView is cached |
| 836 | var ret = defaultView.getComputedStyle( elem, null ); |
| 837 | return !ret || ret.getPropertyValue("color") == ""; |
| 838 | } |
| 839 | |
| 840 | // We need to handle opacity special in IE |
| 841 | if ( name == "opacity" && jQuery.browser.msie ) { |