DescriptionCombine and simplify LayoutTableSection::DirtiedRows() and DirtiedEffectiveColumns()
As both need to get covered rows and covered columns, combining them can
reduce code lines and cost.
Also change:
- With collapsed borders, just expand the rows and columns by 1 cell in
each side. This removes dependency to LayoutTable::OuterBorderXXX().
(This is the initial purpose of this CL, for https://codereview.chromium.org/2890543002
which will remove LayoutTable::OuterBorderXXX()).
- Besides primary cells, also expand rows and columns to cover all
overlapping cells. This avoids the extra logic in TableSectionPainter
handling overlapping cells.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2884763003
Cr-Commit-Position: refs/heads/master@{#472660}
Committed: https://chromium.googlesource.com/chromium/src/+/220cde510f9c973d9c2b546a8d8b3c9196cfe7ef
Patch Set 1 #Patch Set 2 : - #
Total comments: 4
Patch Set 3 : Rebase on origin/master #
Total comments: 1
Dependent Patchsets: Messages
Total messages: 34 (20 generated)
|