[TableNG] Add specialized cache logic for table-cell baseline alignment.
This patch allows a NGBlockLayoutAlgorithm to "shift" its content, in order to perform vertical-alignment within table-cells. Previously this was done by intrinsic-padding. And the end of layout, we "finalize" for the table cell, shifting the content to the desired alignment location. Within the caching logic for the common case where we don't have an alignment baseline (for the "measure" pass), then we do (for the "layout" pass), we hit the cache if the alignment-baseline, and the actual baseline are the same. Bug: 958381 Change-Id: I4a9edd3dd8ecc6e8ec90f6b7042f7af644bd0be0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2500981 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Aleks Totic <atotic@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#821784}
Showing
Please register or sign in to comment