Changeset 4341


Ignore:
Timestamp:
10/12/09 15:30:37 (6 years ago)
Author:
garry.yao
Message:

Fixing TCs which incorrectly assume 'cssFloat' in all browsers.

Location:
CKEditor/tests/dt/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/tests/dt/core/dom/element.html

    r4099 r4341  
    223223                        element.setStyle( 'float', 'right' );
    224224
    225                         assert.areEqual( 'right', document.getElementById( 'setStyle' ).style.cssFloat );
     225                        assert.areEqual( 'right', element.getStyle( 'float' ) );
    226226                },
    227227
     
    235235
    236236                        assert.areEqual( 'absolute', document.getElementById( 'setStyle' ).style.position );
    237                         assert.areEqual( 'right', document.getElementById( 'setStyle' ).style.cssFloat );
     237                        assert.areEqual( 'right', element.getStyle( 'float' ) );
    238238                },
    239239
  • CKEditor/tests/dt/core/tools.html

    r4099 r4341  
    8787                test_cssStyleToDomStyle2 : function()
    8888                {
    89                         assert.areSame( 'cssFloat', CKEDITOR.tools.cssStyleToDomStyle( 'float' ) );
     89                        assert.areSame( CKEDITOR.env.ie ? 'styleFloat' : 'cssFloat', CKEDITOR.tools.cssStyleToDomStyle( 'float' ) );
    9090                },
    9191
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2015 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy