From 35a36484e04522ba99d75da94dacd762b03c2adc Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Fri, 20 Apr 2007 04:01:37 +0000 Subject: [PATCH] Bug 376233. Make sure table pseudos are captured when creating listbox content. r+sr=bzbarsky,a=dveditz git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@224777 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 0239a103b68..8e37f9b4648 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -13193,6 +13193,9 @@ nsCSSFrameConstructor::CreateListBoxContent(nsPresContext* aPresContext, aParentFrame, aChild->Tag(), aChild->GetNameSpaceID(), styleContext, frameItems, PR_FALSE); + if (!state.mPseudoFrames.IsEmpty()) { + ProcessPseudoFrames(state, frameItems); + } nsIFrame* newFrame = frameItems.childList; *aNewFrame = newFrame;