зеркало из https://github.com/mozilla/gecko-dev.git
Make captions process children normally so that whitespace-only text frames get constructed. b=311822 r=bernd sr=roc
This commit is contained in:
Родитель
dcc3d285f5
Коммит
28fed71fa8
|
@ -3670,9 +3670,9 @@ nsCSSFrameConstructor::ConstructTableCaptionFrame(nsFrameConstructorState& aStat
|
|||
aState.PushFloatContainingBlock(aNewFrame, floatSaveState,
|
||||
haveFirstLetterStyle, haveFirstLineStyle);
|
||||
nsFrameItems childItems;
|
||||
// pass in aTableCreator so ProcessChildren will call TableProcessChildren
|
||||
// pass in null tableCreator so ProcessChildren will not call TableProcessChildren
|
||||
rv = ProcessChildren(aState, aContent, aNewFrame,
|
||||
PR_TRUE, childItems, PR_TRUE, &aTableCreator);
|
||||
PR_TRUE, childItems, PR_TRUE, nsnull);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
aNewFrame->SetInitialChildList(aState.mPresContext, nsnull,
|
||||
childItems.childList);
|
||||
|
|
Загрузка…
Ссылка в новой задаче