﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11613	CKEDITOR.editor.resize won't accept CSS units for height	Christophe Guillou		"The documentation of CKEDITOR.editor.resize http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-resize reads:

resize( width, height, [isContentHeight], [resizeInner] )
Resizes the editor interface.
editor.resize( 900, 300 );
editor.resize( '100%', 450, true );
Parameters
width : Number/String
The new width. It can be an integer denoting a value in pixels or a CSS size value with unit.
height : Number/String
The new height. It can be an integer denoting a value in pixels or a CSS size value with unit.

But its implementation is:

CKEDITOR.editor.prototype.resize=function(a,b,c,d){
var g=this.container,k=this.ui.space(""contents""),l=CKEDITOR.env.webkit&&this.document&&this.document.getWindow().$.frameElement,d=d?g.getChild(1):g;
d.setSize(""width"",a,true);
l&&(l.style.width=""1%"");
k.setStyle(""height"",Math.max(b-(c?0:(d.$.offsetHeight||0)-(k.$.clientHeight||0)),0)+""px"");
l&&(l.style.width=""100%"");
this.fire(""resize"");
};

If I call:

editor.resize(""100%"", ""2em"",true);

Math.max(b-(c?0:(d.$.offsetHeight||0)-(k.$.clientHeight||0)),0) returns NaN

This results into a call to setStyle(""height"", ""NaNpx""); which has no effect."	Bug	closed	Normal		General	3.0	duplicate	IBM	Irina Satya Minnekanti
