Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 3851)
+++ /CKEditor/trunk/CHANGES.html	(revision 3852)
@@ -1,3 +1,3 @@
-﻿﻿﻿﻿﻿﻿﻿﻿﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <!--
 Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
@@ -118,4 +118,5 @@
  		<li><a href="http://dev.fckeditor.net/ticket/3887">#3887</a> : Fixed an issue in which the create
  			list command may leak outside of a selected table cell and into the rest of document.</li>
+ 		<li><a href="http://dev.fckeditor.net/ticket/3916">#3916</a> : Fixed maximize does not enlarge editor width when width is set.</li>
 	</ul>
 	<h3>
Index: /CKEditor/trunk/_source/core/config.js
===================================================================
--- /CKEditor/trunk/_source/core/config.js	(revision 3851)
+++ /CKEditor/trunk/_source/core/config.js	(revision 3852)
@@ -217,8 +217,8 @@
 	 * The editor width in CSS size format or pixel integer.
 	 * @type String|Number
-	 * @default '100%'
-	 * @example
-	 */
-	width : '100%',
+	 * @default ''
+	 * @example
+	 */
+	width : '',
 
 	/**
Index: /CKEditor/trunk/_source/skins/kama/mainui.css
===================================================================
--- /CKEditor/trunk/_source/skins/kama/mainui.css	(revision 3851)
+++ /CKEditor/trunk/_source/skins/kama/mainui.css	(revision 3852)
@@ -46,4 +46,5 @@
 */
 	display: inline-table;
+	width: 100%;
 }
 
Index: /CKEditor/trunk/_source/skins/office2003/mainui.css
===================================================================
--- /CKEditor/trunk/_source/skins/office2003/mainui.css	(revision 3851)
+++ /CKEditor/trunk/_source/skins/office2003/mainui.css	(revision 3852)
@@ -10,4 +10,5 @@
 */
 	display: inline-table;
+	width: 100%;
 }
 
Index: /CKEditor/trunk/_source/skins/v2/mainui.css
===================================================================
--- /CKEditor/trunk/_source/skins/v2/mainui.css	(revision 3851)
+++ /CKEditor/trunk/_source/skins/v2/mainui.css	(revision 3852)
@@ -10,4 +10,5 @@
 */
 	display: inline-table;
+	width: 100%;
 }
 
Index: /CKEditor/trunk/_source/themes/default/theme.js
===================================================================
--- /CKEditor/trunk/_source/themes/default/theme.js	(revision 3851)
+++ /CKEditor/trunk/_source/themes/default/theme.js	(revision 3852)
@@ -25,5 +25,4 @@
 
 			var height	= contentsHtml && editor.config.height;
-			var width	= editor.config.width;
 
 			var tabIndex = editor.config.tabIndex || editor.element.getAttribute( 'tabindex' ) || 0;
@@ -35,6 +34,14 @@
 				height += 'px';
 
-			if ( !isNaN( width ) )
-				width += 'px';
+			var style = '';
+			var width	= editor.config.width;
+
+			if ( width )
+			{
+				if ( !isNaN( width ) )
+					width += 'px';
+
+				style += "width: " + width + ";";
+			}
 
 			var container = CKEDITOR.dom.element.createFromHtml( [
@@ -46,8 +53,10 @@
 					' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' +
 					' lang="', editor.langCode, '"' +
-					' tabindex="' + tabIndex + '">' +
+					' tabindex="' + tabIndex + '"' +
+					( style ? ' style="' + style + '"' : '' ) +
+					'>' +
 					'<span class="' , CKEDITOR.env.cssClass, '">' +
 						'<span class="cke_wrapper cke_', editor.lang.dir, '">' +
-							'<table class="cke_editor" border="0" cellspacing="0" cellpadding="0" style="width:', width, '"><tbody>' +
+							'<table class="cke_editor" border="0" cellspacing="0" cellpadding="0"><tbody>' +
 								'<tr', topHtml		? '' : ' style="display:none"', '><td id="cke_top_'		, name, '" class="cke_top">'	, topHtml		, '</td></tr>' +
 								'<tr', contentsHtml	? '' : ' style="display:none"', '><td id="cke_contents_', name, '" class="cke_contents" style="height:', height, '">', contentsHtml, '</td></tr>' +
