From 1aae6308810db251eec9fd74409555857db6f157 Mon Sep 17 00:00:00 2001 From: "martijn.martijn%gmail.com" Date: Tue, 11 Apr 2006 01:18:41 +0000 Subject: [PATCH] Bug 332499 - Misplaced listbox for floated select, patch by Marc Liddell, r+sr=roc git-svn-id: svn://10.0.0.236/trunk@194082 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 95f45884367..6e7b1326eb4 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -5274,7 +5274,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsFrameConstructorState& aState, mPresShell->SetAnonymousContentFor(aContent, nsnull); InitializeSelectFrame(aState, listFrame, scrolledFrame, aContent, - comboboxFrame, aStyleContext, PR_TRUE, aFrameItems); + comboboxFrame, listStyle, PR_TRUE, aFrameItems); // Set flag so the events go to the listFrame not child frames. // XXX: We should replace this with a real widget manager similar