pseudoframes need to be processed before the frame state is reset bug 282175 r/sr=bzbarsky a=asa

This commit is contained in:
bmlk%gmx.de 2005-04-27 04:25:57 +00:00
Родитель 1c1725f306
Коммит aaa9c943c7
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -3836,6 +3836,9 @@ nsCSSFrameConstructor::ConstructTableForeignFrame(nsFrameConstructorState& aStat
ConstructFrame(aState, aContent, parentFrame, childItems);
// dont care about return value as ConstructFrame will not append a child if it fails.
if (!aState.mPseudoFrames.IsEmpty()) {
ProcessPseudoFrames(aState, childItems);
}
// restore the pseudo frame state
aState.mPseudoFrames = prevPseudoFrames;