Ticket #9117: 9117.patch

File 9117.patch, 613 bytes (added by Frederico Caldeira Knabben, 12 years ago)
  • _source/core/dom/element.js

     
    504504                        :
    505505                                function( propertyName )
    506506                                {
    507                                         return this.getWindow().$.getComputedStyle( this.$, '' ).getPropertyValue( propertyName );
     507                                        var style = this.getWindow().$.getComputedStyle( this.$, null );
     508
     509                                        // Firefox may return null if we call the above on a hidden iframe. (#9117)
     510                                        return style ? style.getPropertyValue( propertyName ) : '';
    508511                                },
    509512
    510513                /**
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy