Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Issue 2148513002: Calculate border-box dimensions correctly for cells (Closed)

Created:
4 years, 5 months ago by rhogan
Modified:
4 years, 5 months ago
Reviewers:
dgrogan, eae
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@619509-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Calculate border-box dimensions correctly for cells When constraining a height on a cell according to box sizing we need to exclude the intrinsic padding on table cells (calculated to line up the content of the cells with the baseline of its neighbours) but include any collapsed borders the cells have picked up from the row/table. BUG=627305 Committed: https://crrev.com/1da432b8b1e60df27ed36d2a6439392d2048551e Cr-Commit-Position: refs/heads/master@{#406775}

Patch Set 1 #

Patch Set 2 : bug 627305 #

Patch Set 3 : bug 627305 #

Patch Set 4 : bug 627305 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -17 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-expected.txt View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-collapsed-border.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-collapsed-border-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-collapsed-border-on-table.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-collapsed-border-on-table-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-padding.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-border-box-sized-cell-with-padding-expected.txt View 1 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.html View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-content-box-sized-cell.html View 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-content-box-sized-cell-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-descendant-percentage-height-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/table/dynamic-descendant-percentage-height-expected.txt View 1 chunk +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 5 chunks +16 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
rhogan
4 years, 5 months ago (2016-07-20 17:36:24 UTC) #7
eae
This is great, thank you! LGTM
4 years, 5 months ago (2016-07-20 18:25:52 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2148513002/60001
4 years, 5 months ago (2016-07-20 18:26:28 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/259144)
4 years, 5 months ago (2016-07-20 21:47:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2148513002/60001
4 years, 5 months ago (2016-07-20 21:48:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/259314)
4 years, 5 months ago (2016-07-21 03:34:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2148513002/60001
4 years, 5 months ago (2016-07-21 04:39:24 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-21 05:59:14 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 06:00:47 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1da432b8b1e60df27ed36d2a6439392d2048551e
Cr-Commit-Position: refs/heads/master@{#406775}

Powered by Google App Engine
This is Rietveld 408576698