Bug 1789034 - Rename ShrinkWidthToFit to ShrinkISizeToFit. r=emilio
This method already works in logical coordinates. We should name it correctly. Differential Revision: https://phabricator.services.mozilla.com/D156356
This commit is contained in:
@@ -1466,7 +1466,7 @@ nscoord nsTableFrame::TableShrinkISizeToFit(gfxContext* aRenderingContext,
|
||||
// Tables shrink inline-size to fit with a slightly different algorithm
|
||||
// from the one they use for their intrinsic isize (the difference
|
||||
// relates to handling of percentage isizes on columns). So this
|
||||
// function differs from nsIFrame::ShrinkWidthToFit by only the
|
||||
// function differs from nsIFrame::ShrinkISizeToFit by only the
|
||||
// following line.
|
||||
// Since we've already called GetMinISize, we don't need to do any
|
||||
// of the other stuff GetPrefISize does.
|
||||
|
||||
Reference in New Issue
Block a user