Changeset 1824


Ignore:
Timestamp:
03/27/08 22:35:55 (6 years ago)
Author:
fredck
Message:

The automated tests were mistakenly failing on Safari and Opera due to whitespace appended by the browser to the body innerHTML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_test/automated/tests/fckw3crange.html

    r1714 r1824  
    900900function setUpPage() 
    901901{ 
    902         _BodyHtml = document.body.innerHTML ; 
     902        // Get the trimmed innerHTML. 
     903        _BodyHtml = document.body.innerHTML.replace( /^\s+|\s+$/g, '' ) ; 
    903904        setUpPageStatus = 'complete' ; 
    904905} 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy