/**
- * @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
*/
}
// IE8 rename HTML5 nodes by adding `:` at the begging of the tag name when the node is cloned,
- // so `<figure>` will be `<:figure>` after 'cloneNode'. We need to fix it (#13101).
+ // so `<figure>` 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;
} 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 );
}
}
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 );
}
}
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 );
}
}
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;
}