lastChild = lastChild.getPrevious();\r
if ( !lastChild || !lastChild.is || !lastChild.is( 'br' ) )\r
{\r
- this.append(\r
- CKEDITOR.env.opera ?\r
+ var bogus = CKEDITOR.env.opera ?\r
this.getDocument().createText('') :\r
- this.getDocument().createElement( 'br' ) );\r
+ this.getDocument().createElement( 'br' );\r
+\r
+ CKEDITOR.env.gecko && bogus.setAttribute( 'type', '_moz' );\r
+\r
+ this.append( bogus );\r
}\r
},\r
\r
}\r
\r
return (\r
- /** @ignore */\r
this.getName = function()\r
{\r
return nodeName;\r
if ( attrName in skipAttributes )\r
continue;\r
\r
- if( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )\r
+ if ( attrName == 'checked' && ( attrValue = this.getAttribute( attrName ) ) )\r
dest.setAttribute( attrName, attrValue );\r
// IE BUG: value attribute is never specified even if it exists.\r
else if ( attribute.specified ||\r