DescriptionRemove LayoutTable::m_currentBorder
It's merely for TablePainter to tell TableCellPainter which collapsed
border to paint during painting. Now pass it directly through parameter
of TableSectionPainter::paintCollapsedBorders() and
TableCellPainter::paintCollapsedBorders().
Other changes:
- PaintPhaseCollapsedTableBorders no longer needs to be a paint phase;
- Removed the original slow path in TableSectionPainter::paintObject
for collapsed borders, because collapsed borders are not affected by
cell overflows, and overlapping cells because of spans also don't
affect painting order of their collapsed borders;
- When collapsed border changes, invalidate the cell on table because
collapsed borders are always painted on the table's backing, even if
any section, row or cell has composited layer.
BUG=510492
Committed: https://crrev.com/cb947c0153db0ec02a8abbcb3ca086d88bf6006f
Cr-Commit-Position: refs/heads/master@{#352221}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update comment #Messages
Total messages: 10 (3 generated)
|