﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7230	IE quirks: Dialog borders do not resize properly when show/hide tab bar	sadlerjw		"When the tab bar is being added or removed for a dialog, the resize event is not fired.  The resize event is necessary for IE6 or IE quirks mode, since the height of the left and right borders must be adjusted.  This can result either in a gap between the top corner borders and the vertical borders on the left and right sides, or the left and right borders extend up above the dialog's title bar.  See attached screenshot.

To reproduce:[[BR]]
1. Create a dialog with two pages. It should display properly, with the tab bar showing.[[BR]]
2. Hide one of the pages. The tab bar should disappear and you should be able to see the left and right borders extending up above the title bar, as in the screenshot.

This occurs in IE quirks mode...I reproduced across IE6, 7, 8, and 9 with the doctype: 
{{{
<!DOCTYPE html PUBLIC ""-//W3C//DTD HTML 3.2 Final//EN"">
}}}

A proposed patch is attached. I've changed dialog's resize method to include an optional third parameter, ""force,"" which forces the dialog to fire the resize event even if the actual content area size hasn't changed.  Then I call resize from updateStyle, if (and only if) the tab bar visibility has changed AND we're in IE."	Bug	confirmed	Normal		UI : Dialogs	3.5		HasPatch IE	
