fixed this case: (an image tag with no width attribute) inside (a specified-width column) inside
(a nested table with specified width) inside (an auto-width column) inside (a specified-width table). Got that? The problem was that we we not setting state correctly during incremental reflow when the image returned its proper metrics after giving default metrics that were for its ALT text. git-svn-id: svn://10.0.0.236/trunk@7132 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -310,13 +310,11 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext& aPresContext,
|
||||
if (PR_TRUE==gsDebug || PR_TRUE==gsDebugNT)
|
||||
{
|
||||
if (nsnull!=pMaxElementSize)
|
||||
printf(" %p cellFrame child returned desiredSize=%d,%d,\
|
||||
and maxElementSize=%d,%d\n",
|
||||
printf(" %p cellFrame child returned desiredSize=%d,%d, and maxElementSize=%d,%d\n",
|
||||
this, kidSize.width, kidSize.height,
|
||||
pMaxElementSize->width, pMaxElementSize->height);
|
||||
else
|
||||
printf(" %p cellFrame child returned desiredSize=%d,%d,\
|
||||
and maxElementSize=nsnull\n",
|
||||
printf(" %p cellFrame child returned desiredSize=%d,%d, and maxElementSize=nsnull\n",
|
||||
this, kidSize.width, kidSize.height);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user