#include "HTMLNames.h"
#include "core/css/StylePropertySet.h"
#include "core/html/HTMLTableCellElement.h"
-#include "core/rendering/LayoutRectRecorder.h"
#include "core/rendering/PaintInfo.h"
#include "core/rendering/RenderTableCol.h"
#include "core/rendering/RenderView.h"
{
ASSERT(needsLayout());
- LayoutRectRecorder recorder(*this);
-
updateFirstLetter();
int oldCellBaseline = cellBaselinePosition();
if (isBaselineAligned() && section()->rowBaseline(rowIndex()) && cellBaselinePosition() > section()->rowBaseline(rowIndex())) {
int newIntrinsicPaddingBefore = max<LayoutUnit>(0, intrinsicPaddingBefore() - max<LayoutUnit>(0, cellBaselinePosition() - oldCellBaseline));
setIntrinsicPaddingBefore(newIntrinsicPaddingBefore);
- SubtreeLayoutScope layouter(this);
+ SubtreeLayoutScope layouter(*this);
layouter.setNeedsLayout(this);
layoutBlock(cellWidthChanged());
}
+ // FIXME: This value isn't the intrinsic content logical height, but we need
+ // to update the value as its used by flexbox layout. crbug.com/367324
+ updateIntrinsicContentLogicalHeight(contentLogicalHeight());
+
setCellWidthChanged(false);
}
return;
r.setY(r.y());
RenderView* v = view();
- if ((!v || !v->layoutStateEnabled() || repaintContainer) && parent())
+ if ((!v || !v->canUseLayoutStateForContainer(repaintContainer)) && parent())
r.moveBy(-parentBox()->location()); // Rows are in the same coordinate space, so don't add their offset in.
RenderBlockFlow::computeRectForRepaint(repaintContainer, r, fixed);
}