зеркало из https://github.com/mozilla/gecko-dev.git
pseudoframes need to be processed before the frame state is reset bug 282175 r/sr=bzbarsky a=asa
This commit is contained in:
Родитель
1c1725f306
Коммит
aaa9c943c7
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче