Make WordPress Core

Ticket #38489: fix-spelling-qunit.2.diff

File fix-spelling-qunit.2.diff, 2.2 KB (added by ottok, 8 years ago)
  • tests/qunit/editor/plugins/image.js

     
    346346
    347347        });
    348348
    349         test('Advanced image dialog overriden border style options on empty editor', function(){
     349        test('Advanced image dialog overridden border style options on empty editor', function(){
    350350                editor.settings.image_advtab = true;
    351351                editor.settings.image_dimensions = false;
    352352
     
    376376
    377377        });
    378378
    379         test('Advanced image dialog overriden margin style options on empty editor', function(){
     379        test('Advanced image dialog overridden margin style options on empty editor', function(){
    380380                editor.settings.image_advtab = true;
    381381                editor.settings.image_dimensions = false;
    382382
  • tests/qunit/editor/tinymce/Formatter_apply.js

     
    151151        rng.setEnd(editor.dom.select('p')[0].lastChild, 2);
    152152        editor.selection.setRng(rng);
    153153        editor.formatter.toggle('format');
    154         equal(getContent(), '<p><b>1234</b></p>', 'Extend formating if start of selection is already formatted');
     154        equal(getContent(), '<p><b>1234</b></p>', 'Extend formatting if start of selection is already formatted');
    155155});
    156156
    157157test('Inline element on partially selected text', function() {
  • tests/qunit/editor/tinymce/dom/DOMUtils.js

     
    612612                ok(DOM.isEmpty(DOM.get('test')), 'Non empty complex HTML with space');
    613613
    614614                DOM.setHTML('test', '<div><span><b></b></span><b></b><em><a name="x"></a></em></div>');
    615                 ok(!DOM.isEmpty(DOM.get('test')), 'Non empty complex HTML with achor name');
     615                ok(!DOM.isEmpty(DOM.get('test')), 'Non empty complex HTML with anchor name');
    616616
    617617                DOM.setHTML('test', '<img src="tinymce/ui/img/raster.gif">');
    618618                ok(!DOM.isEmpty(DOM.get('test')), 'Non empty html with img element');