зеркало из https://github.com/mozilla/gecko-dev.git
Call to RecalcLayoutData
This commit is contained in:
Родитель
7aa439229c
Коммит
3290c4a875
|
@ -228,11 +228,12 @@ NS_METHOD nsTableOuterFrame::ResizeReflow(nsIPresContext* aPresContext,
|
||||||
&innerTableMaxElementSize);
|
&innerTableMaxElementSize);
|
||||||
|
|
||||||
#ifdef NOISY_MARGINS
|
#ifdef NOISY_MARGINS
|
||||||
nsIContentPtr content = mInnerTableFrame->GetContent();
|
nsIContent* content = nsnull;
|
||||||
|
mInnerTableFrame->GetContent(content);
|
||||||
nsTablePart *table = (nsTablePart*)content;
|
nsTablePart *table = (nsTablePart*)content;
|
||||||
if (table != nsnull)
|
if (table != nsnull)
|
||||||
table->DumpCellMap();
|
table->DumpCellMap();
|
||||||
mInnerTableFrame->ResetColumnLayoutData();
|
mInnerTableFrame->RecalcLayoutData();
|
||||||
mInnerTableFrame->ListColumnLayoutData(stdout,1);
|
mInnerTableFrame->ListColumnLayoutData(stdout,1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -228,11 +228,12 @@ NS_METHOD nsTableOuterFrame::ResizeReflow(nsIPresContext* aPresContext,
|
||||||
&innerTableMaxElementSize);
|
&innerTableMaxElementSize);
|
||||||
|
|
||||||
#ifdef NOISY_MARGINS
|
#ifdef NOISY_MARGINS
|
||||||
nsIContentPtr content = mInnerTableFrame->GetContent();
|
nsIContent* content = nsnull;
|
||||||
|
mInnerTableFrame->GetContent(content);
|
||||||
nsTablePart *table = (nsTablePart*)content;
|
nsTablePart *table = (nsTablePart*)content;
|
||||||
if (table != nsnull)
|
if (table != nsnull)
|
||||||
table->DumpCellMap();
|
table->DumpCellMap();
|
||||||
mInnerTableFrame->ResetColumnLayoutData();
|
mInnerTableFrame->RecalcLayoutData();
|
||||||
mInnerTableFrame->ListColumnLayoutData(stdout,1);
|
mInnerTableFrame->ListColumnLayoutData(stdout,1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче