Remove 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

Review URL: https://codereview.chromium.org/1379213002

Cr-Commit-Position: refs/heads/master@{#352221}
11 files changed