зеркало из https://github.com/mozilla/gecko-dev.git
Fixed bug where tables weren't returning a proper set of metrics
This commit is contained in:
Родитель
2a161ae8b5
Коммит
f0ed6d38a2
|
@ -480,6 +480,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext* aPresContext,
|
|||
aDesiredSize.height = aReflowState.maxSize.height;
|
||||
else
|
||||
aDesiredSize.height = state.y;
|
||||
aDesiredSize.ascent = aDesiredSize.height;
|
||||
aDesiredSize.descent = 0;
|
||||
|
||||
if (gsDebug==PR_TRUE)
|
||||
{
|
||||
|
|
|
@ -480,6 +480,8 @@ NS_METHOD nsTableOuterFrame::Reflow(nsIPresContext* aPresContext,
|
|||
aDesiredSize.height = aReflowState.maxSize.height;
|
||||
else
|
||||
aDesiredSize.height = state.y;
|
||||
aDesiredSize.ascent = aDesiredSize.height;
|
||||
aDesiredSize.descent = 0;
|
||||
|
||||
if (gsDebug==PR_TRUE)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче