X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fpiedsjaloux-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fcore%2Fdom%2Fnode.js;fp=sources%2Fcore%2Fdom%2Fnode.js;h=69b223e68622305d9076211ee6916cfd1dd0b10b;hp=7818b079d3eb4f8c682ec2834dd4da36947371ea;hb=317f8f8f0651488f226b5280a8f036c7c135c639;hpb=1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c diff --git a/sources/core/dom/node.js b/sources/core/dom/node.js index 7818b07..69b223e 100644 --- a/sources/core/dom/node.js +++ b/sources/core/dom/node.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -200,7 +200,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { } // IE8 rename HTML5 nodes by adding `:` at the begging of the tag name when the node is cloned, - // so `
` will be `<:figure>` after 'cloneNode'. We need to fix it (#13101). + // so `
` will be `<:figure>` after 'cloneNode'. We need to fix it (http://dev.ckeditor.com/ticket/13101). function renameNodes( node ) { if ( node.type != CKEDITOR.NODE_ELEMENT && node.type != CKEDITOR.NODE_DOCUMENT_FRAGMENT ) return; @@ -804,7 +804,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { } else if ( trimmed.length < originalLength ) { child.split( originalLength - trimmed.length ); - // IE BUG: child.remove() may raise JavaScript errors here. (#81) + // IE BUG: child.remove() may raise JavaScript errors here. (http://dev.ckeditor.com/ticket/81) this.$.removeChild( this.$.firstChild ); } } @@ -829,7 +829,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { child.split( trimmed.length ); // IE BUG: child.getNext().remove() may raise JavaScript errors here. - // (#81) + // (http://dev.ckeditor.com/ticket/81) this.$.lastChild.parentNode.removeChild( this.$.lastChild ); } } @@ -840,7 +840,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { child = this.$.lastChild; if ( child && child.type == 1 && child.nodeName.toLowerCase() == 'br' ) { - // Use "eChildNode.parentNode" instead of "node" to avoid IE bug (#324). + // Use "eChildNode.parentNode" instead of "node" to avoid IE bug (http://dev.ckeditor.com/ticket/324). child.parentNode.removeChild( child ); } } @@ -874,7 +874,7 @@ CKEDITOR.tools.extend( CKEDITOR.dom.node.prototype, { if ( this.type != CKEDITOR.NODE_ELEMENT ) element = this.getParent(); - // Prevent Edge crash (#13609, #13919). + // Prevent Edge crash (http://dev.ckeditor.com/ticket/13609, http://dev.ckeditor.com/ticket/13919). if ( CKEDITOR.env.edge && element && element.is( 'textarea', 'input' ) ) { checkOnlyAttributes = true; }