nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues. Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow to handle the case of a multiselect select without a size specified.
This commit is contained in:
@@ -305,7 +305,7 @@ nsFormControlHelper::CalculateSize (nsIPresContext* aPresContext,
|
||||
PRInt32 type;
|
||||
aFrame->GetType(&type);
|
||||
|
||||
if (PR_TRUE == requiresWidget || eWidgetRendering_Gfx != mode ||
|
||||
if (PR_TRUE == requiresWidget || eWidgetRendering_Native == mode ||
|
||||
type==NS_FORM_INPUT_TEXT || type==NS_FORM_TEXTAREA || type==NS_FORM_INPUT_PASSWORD)
|
||||
{
|
||||
if (!aWidthExplicit) {
|
||||
|
||||
Reference in New Issue
Block a user