[css-tables] Scrollbar should be removed from OverrideLogicalHeight()
When computing the percentage height of table cell replaced children, if the table cell has horizontal scrollbar we have to subtract its height from the OverrideLogicalHeight(). The patch is just following a suggestion from a TODO in LayoutBox::AvailableLogicalHeightUsing(). BUG=838144 TEST=external/wpt/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001.html Change-Id: I21f33b82978ffaeb7a6f04eb49ef2e1a52c1e8c0 Reviewed-on: https://chromium-review.googlesource.com/1035125Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#554853}
Showing
Please register or sign in to comment