Bug 1824877 Part 3 - Change ScrollContainerFrame's type from Scroll to ScrollContainer. r=dholbert
This effectively changes the `IsScrollFrame()` helper to `IsScrollContainerFrame()`. Differential Revision: https://phabricator.services.mozilla.com/D210357
This commit is contained in:
@@ -754,7 +754,7 @@ void nsTableCellFrame::Reflow(nsPresContext* aPresContext,
|
||||
{
|
||||
const auto padding = aReflowInput.ComputedLogicalPadding(kidWM);
|
||||
kidReflowInput.Init(aPresContext, Nothing(), Nothing(), Some(padding));
|
||||
if (firstKid->IsScrollFrame()) {
|
||||
if (firstKid->IsScrollContainerFrame()) {
|
||||
// Propagate explicit block sizes to our inner frame, if it's a scroll
|
||||
// frame. Note that in table layout, explicit heights act as a minimum
|
||||
// height, see nsTableRowFrame::CalcCellActualBSize.
|
||||
|
||||
Reference in New Issue
Block a user