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

Issue 2037783002: Percent height content should respect the fixed height of its containing cell (Closed)

Created:
4 years, 6 months ago by rhogan
Modified:
4 years, 6 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@24826-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Percent height content should respect the fixed height of its containing cell Reland: https://codereview.chromium.org/992483002 When an element in a cell has a percent height and the cell has a fixed height we currently let the element ignore the height on the cell and instead let its content determine the height of the cell (and the row). Instead we should follow FF/Presto/Edge and the rendering agreed on the WG list and let the element calculate itself as a percentage of its parent, the cell's height. https://lists.w3.org/Archives/Public/www-style/2015Mar/0101.html BUG=465096, 468699 Committed: https://crrev.com/28307938a3f600ff4ade76939ae7c03f617b7df5 Cr-Commit-Position: refs/heads/master@{#397799}

Patch Set 1 #

Patch Set 2 : Updated #

Total comments: 1

Patch Set 3 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -33 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/block/basic/quirk-percent-height-table-cell-expected.png View Binary file 0 comments Download
M third_party/WebKit/LayoutTests/fast/block/basic/quirk-percent-height-table-cell-expected.txt View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/table/colspan-with-all-percent-cells-expected.txt View 1 chunk +5 lines, -5 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell.html View 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/table/percent-height-content-in-fixed-height-cell-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-align-center-expected.png View 1 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-align-center-expected.txt View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-align-left-expected.png View 1 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-align-left-expected.txt View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-align-right-expected.png View 1 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-align-right-expected.txt View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/fast/html/details-writing-mode-expected.txt View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 2 3 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
rhogan
4 years, 6 months ago (2016-06-02 19:33:42 UTC) #3
eae
LGTM w/nit https://codereview.chromium.org/2037783002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (right): https://codereview.chromium.org/2037783002/diff/20001/third_party/WebKit/Source/core/layout/LayoutBox.cpp#newcode2758 third_party/WebKit/Source/core/layout/LayoutBox.cpp:2758: availableHeight = std::max(LayoutUnit(), cb->constrainContentBoxLogicalHeightByMinMax(contentBoxHeight - cb->scrollbarLogicalHeight(), LayoutUnit(-1))); ...
4 years, 6 months ago (2016-06-02 22:50:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2037783002/40001
4 years, 6 months ago (2016-06-03 19:08:30 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-03 20:56:31 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 20:57:38 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/28307938a3f600ff4ade76939ae7c03f617b7df5
Cr-Commit-Position: refs/heads/master@{#397799}

Powered by Google App Engine
This is Rietveld 408576698