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

Issue 18050007: Height of fixed height cell is not proper when cell's row is under row spanning cell. (Closed)

Created:
7 years, 5 months ago by a.suchit
Modified:
7 years, 5 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Height of fixed height cell is not proper when cell's row is under row spanning cell. If cell have fixed height then it's height should not changed till there is other rows present to take extra rowspan cell height. Extra rowspan cell height, First, distributes to percent height spanning rows which is depend on table height. If extra rowspan cell height remains after distributing to percent height rows then remaining extra rowspan cell height distributes in auto spanning rows if auto spanning rows are present otherwise it distributes to remaining spanning rows. R=jchaffraix@chromium.org BUG=254914 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154604

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 18

Patch Set 4 : Review comments addressed #

Total comments: 15

Patch Set 5 : #

Total comments: 16

Patch Set 6 : Review comments addressed #

Total comments: 12

Patch Set 7 : #

Total comments: 10

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+520 lines, -56 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 1 comment Download
M LayoutTests/fast/table/table-rowspan-height-distribution-in-rows-1.html View 1 2 3 4 5 6 3 chunks +6 lines, -6 lines 0 comments Download
A + LayoutTests/fast/table/table-rowspan-height-distribution-in-rows-2.html View 1 2 3 4 5 6 8 chunks +142 lines, -17 lines 0 comments Download
A LayoutTests/fast/table/table-rowspan-height-distribution-in-rows-2-expected.txt View 1 chunk +193 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/core/bloomberg-expected.txt View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug58402-2-expected.txt View 1 2 4 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderTableSection.h View 1 2 3 4 5 6 2 chunks +19 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 1 2 3 4 5 6 7 2 chunks +141 lines, -22 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
suchit.agrawal
7 years, 5 months ago (2013-06-27 16:19:50 UTC) #1
Julien - ping for review
I don't think this is going in the right direction at all. You should gather ...
7 years, 5 months ago (2013-06-27 22:09:24 UTC) #2
a.suchit
Split giant function 'recalcRowsHeightInRowSpanningCell' in to small-small functions based on their functionality.
7 years, 5 months ago (2013-06-28 14:26:45 UTC) #3
Julien - ping for review
https://codereview.chromium.org/18050007/diff/22001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/22001/Source/core/rendering/RenderTableSection.cpp#newcode256 Source/core/rendering/RenderTableSection.cpp:256: int RenderTableSection::getRowsHeightInRowSpan(RenderTableCell* cell, int& expectedTotalRowsHeight, Vector<int>& rowsHeight) This function ...
7 years, 5 months ago (2013-07-02 02:16:18 UTC) #4
a.suchit
https://codereview.chromium.org/18050007/diff/22001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/22001/Source/core/rendering/RenderTableSection.cpp#newcode256 Source/core/rendering/RenderTableSection.cpp:256: int RenderTableSection::getRowsHeightInRowSpan(RenderTableCell* cell, int& expectedTotalRowsHeight, Vector<int>& rowsHeight) On 2013/07/02 ...
7 years, 5 months ago (2013-07-03 12:59:57 UTC) #5
Julien - ping for review
I didn't have time to look at the tests nor the rebaselines. https://codereview.chromium.org/18050007/diff/22001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp ...
7 years, 5 months ago (2013-07-03 21:08:21 UTC) #6
Julien - ping for review
Also please fix the description "is not proper" is vague and indefinite.
7 years, 5 months ago (2013-07-03 21:09:07 UTC) #7
a.suchit
https://codereview.chromium.org/18050007/diff/42001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/42001/Source/core/rendering/RenderTableSection.cpp#newcode258 Source/core/rendering/RenderTableSection.cpp:258: void RenderTableSection::getRowsHeightInRowSpan(RenderTableCell* cell, int& expectedTotalRowsHeight, int& totalRowsHeight, Vector<int>& rowsHeight) ...
7 years, 5 months ago (2013-07-13 00:49:56 UTC) #8
Julien - ping for review
https://codereview.chromium.org/18050007/diff/59001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/59001/Source/core/rendering/RenderTableSection.cpp#newcode263 Source/core/rendering/RenderTableSection.cpp:263: spanningRowsHeight.expectedTotalRowsHeight = cell->logicalHeightForRowSizing(); I have a hard time with ...
7 years, 5 months ago (2013-07-13 00:56:36 UTC) #9
a.suchit
https://codereview.chromium.org/18050007/diff/59001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/59001/Source/core/rendering/RenderTableSection.cpp#newcode263 Source/core/rendering/RenderTableSection.cpp:263: spanningRowsHeight.expectedTotalRowsHeight = cell->logicalHeightForRowSizing(); On 2013/07/13 00:56:36, Julien Chaffraix wrote: ...
7 years, 5 months ago (2013-07-15 12:06:19 UTC) #10
Julien - ping for review
https://codereview.chromium.org/18050007/diff/69001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/69001/Source/core/rendering/RenderTableSection.cpp#newcode258 Source/core/rendering/RenderTableSection.cpp:258: void RenderTableSection::calcRowsHeightInRowSpan(RenderTableCell* cell, struct SpanningRowsHeight& spanningRowsHeight) Not a huge ...
7 years, 5 months ago (2013-07-16 17:22:13 UTC) #11
a.suchit
https://codereview.chromium.org/18050007/diff/69001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/18050007/diff/69001/Source/core/rendering/RenderTableSection.cpp#newcode258 Source/core/rendering/RenderTableSection.cpp:258: void RenderTableSection::calcRowsHeightInRowSpan(RenderTableCell* cell, struct SpanningRowsHeight& spanningRowsHeight) On 2013/07/16 17:22:13, ...
7 years, 5 months ago (2013-07-18 17:05:32 UTC) #12
Julien - ping for review
lgtm https://codereview.chromium.org/18050007/diff/87001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/18050007/diff/87001/LayoutTests/TestExpectations#newcode1731 LayoutTests/TestExpectations:1731: crbug.com/254914 [ Win Mac ] tables/mozilla_expected_failures/bugs/bug58402-2.html [ Failure ...
7 years, 5 months ago (2013-07-18 18:19:30 UTC) #13
a.suchit
https://codereview.chromium.org/18050007/diff/87001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/18050007/diff/87001/LayoutTests/TestExpectations#newcode1731 LayoutTests/TestExpectations:1731: crbug.com/254914 [ Win Mac ] tables/mozilla_expected_failures/bugs/bug58402-2.html [ Failure ] ...
7 years, 5 months ago (2013-07-20 14:57:23 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/18050007/103001
7 years, 5 months ago (2013-07-20 14:57:47 UTC) #15
commit-bot: I haz the power
Can't process patch for file LayoutTests/platform/linux/tables/mozilla/core/bloomberg-expected.png. Binary file support is temporarilly disabled due to a ...
7 years, 5 months ago (2013-07-20 14:57:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/18050007/108003
7 years, 5 months ago (2013-07-20 15:11:52 UTC) #17
commit-bot: I haz the power
Retried try job too often on mac_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_blink_rel&number=157
7 years, 5 months ago (2013-07-20 17:29:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/18050007/108003
7 years, 5 months ago (2013-07-20 18:59:14 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=341
7 years, 5 months ago (2013-07-20 21:44:27 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/18050007/119001
7 years, 5 months ago (2013-07-21 00:45:15 UTC) #21
commit-bot: I haz the power
Retried try job too often on mac_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_layout_rel&number=13385
7 years, 5 months ago (2013-07-21 02:11:57 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/18050007/126003
7 years, 5 months ago (2013-07-21 02:28:38 UTC) #23
commit-bot: I haz the power
Change committed as 154604
7 years, 5 months ago (2013-07-21 03:47:03 UTC) #24
a.suchit
7 years, 5 months ago (2013-07-21 04:10:58 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/18050007/diff/126003/LayoutTests/TestExpectat...
File LayoutTests/TestExpectations (right):

https://codereview.chromium.org/18050007/diff/126003/LayoutTests/TestExpectat...
LayoutTests/TestExpectations:1728: # Below test case need to rebaseline after
crbug.com/254914
I tried new keyword NeedsRebaseline but I was facing some issues and was not
able to identify problems. So I changed it back based on old rebaseline method.
I also tried to get problem from someone in IRC.
From next patches, I will use NeedsRebaseline keyword.

Powered by Google App Engine
This is Rietveld 408576698