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
This commit is contained in:
roc+%cs.cmu.edu
2007-04-20 04:01:37 +00:00
parent 91214e4526
commit 35a36484e0

View File

@@ -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;