Revert 99212 - Stop abusing RenderTableSection::needsRecalcCells logic
Reviewed by Darin Adler.
Change covered by existing tests like fast/repaint/table-extra-bottom-grow.html
and fast/table/row-height-recalc* (among others).
Cell recalculation is very expensive and should only be called when the section's structure
changed in a way that requires a safe update to its structure (like removing a row as our
column split may not be appropriate anymore).
The current code would abuse cell recalculation to actually reset the logical height on the
RowStruct. This change makes it do the right thing.
Removed styleWillChange override as it was unneeded.
Move the code from styleWillChange to styleDidChange.
This function just reset the height on the |RowStruct| which is the
only part of recalcCells that we would need.
Added this function to find out which index a column has (strangely
RenderTableRow does not have this information).
* rendering/RenderTableSection.h: Added the 2 previous functions.
Update this test as this is a progression: we are not over-repainting the table
Skipped the test here as it needs a rebaseline.