add:  var font = getStyle('font-weight') + " " + getStyle('font-size') + " " + getStyle('font-family');    var lineHeight = "1.0"; var lineHeightStyle = dojo.html.getUnitValue(this.domNode, 'line-height'); if (lineHeightStyle.value && lineHeightStyle.units=="") { lineHeight = lineHeightStyle.value; }  dojo.html.insertCssText( 'body,html{background:transparent;padding:0;margin:0;}' +   'body{top:0;left:0;right:0;' + (((this.height)||(dojo.render.html.opera)) ? '' : 'position:fixed;') + 'font:' + font + ';' + 'min-height:' + this.minHeight + ';' + 'line-height:' + lineHeight + '}' + 'p{margin: 1em 0 !important;}' + 'body > *:first-child{padding-top:0 !important;margin-top:' + this._firstChildContributingMargin + 'px !important;}' + 'body > *:last-child{padding-bottom:0 !important;margin-bottom:' + this._lastChildContributingMargin + 'px !important;}' + 'li > ul:-moz-first-node, li > ol:-moz-first-node{padding-top:1.2em;}\n' + 'li{min-height:1.2em;}' +  '', this.document);  dojo.html.removeNode(tmpContent); this.document.body.innerHTML = html; if(oldMoz||dojo.render.html.safari){ this.document.designMode = "on"; } this.onLoad(); }else{ dojo.html.removeNode(tmpContent); this.editNode.innerHTML = html; this.onDisplayChanged(); } }); 
context: 					var getStyle = (function (domNode) { return function (style) {						return dojo.html.getStyle(domNode, style);					}; })(this.domNode);
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/RichText.js/buggy/www/resources/dojo-ajax/src/widget/RichText.js