Ticket #3502: 3502.patch
File 3502.patch, 1.7 KB (added by , 14 years ago) |
---|
-
_source/tests/plugins/styles/styles.html
345 345 var style = new CKEDITOR.style( { element : 'i' } ); 346 346 style.applyToRange( range ); 347 347 348 assert.areSame( 'this is some <strong><i>sample</i> text<\/strong>. you are using <a href="http://www.fckeditor.net/"> CKEditor<\/a>.', getInnerHtml( '_P1' ) );348 assert.areSame( 'this is some <strong><i>sample</i> text<\/strong>. you are using <a href="http://www.fckeditor.net/">ckeditor<\/a>.', getInnerHtml( '_P1' ) ); 349 349 }, 350 350 351 351 test_checkElementRemovable1 : function() … … 441 441 style = new CKEDITOR.style( styleDef, { 'family' : 'Comic Sans MS,cursive' } ); 442 442 style.applyToRange( range ); 443 443 444 style = new CKEDITOR.style( styleDef, { 'family' : ' Courier New,Courier,monospace' } );444 style = new CKEDITOR.style( styleDef, { 'family' : '\'Courier New\',Courier,monospace' } ); 445 445 style.applyToRange( range ); 446 446 447 assert.areSame( '<span style="font-family: couriernew,courier,monospace;">outter</span><table><tbody><tr><td><span style="font-family:couriernew,courier,monospace;">text</span></td></tr></tbody></table><span style="font-family:couriernew,courier,monospace;">outter</span>', getInnerHtml( element ) );447 assert.areSame( '<span style="font-family:\'couriernew\',courier,monospace;">outter</span><table><tbody><tr><td><span style="font-family:\'couriernew\',courier,monospace;">text</span></td></tr></tbody></table><span style="font-family:\'couriernew\',courier,monospace;">outter</span>', getInnerHtml( element ) ); 448 448 }, 449 449 450 450 test_ticket_3091_2 : function()