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

Issue 596823002: Tables with specific merge cell configuration render with extra height to tr elements. (Closed)

Created:
6 years, 3 months ago by a.suchit
Modified:
6 years ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Tables with specific merge cell configuration render with extra height to tr elements. Rows with only rowspan cells was not getting proper height. This row just getting the one part of the existing height of rowspan cell. Now, Calculating extra height required for the spanning cells in the row and one portion of this height is allocated to it based on number of rows with only rowspan cells having zero height. R=jchaffraix@chromium.org, eseidel@chromium.org, leviw@chromium.org, rschoen@chromium.org BUG=396655, 377518 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187448

Patch Set 1 : Patch gives bad perfromance #

Patch Set 2 : Improved #

Patch Set 3 : Fixed #

Patch Set 4 : Rebase and Added test in TestExpectation for rebaseline on Win and Mac #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Total comments: 12

Patch Set 9 : Review comments addressed #

Total comments: 42

Patch Set 10 : Review comments addresses #

Total comments: 22

Patch Set 11 : Temp #

Patch Set 12 : Review comments Addressed #

Patch Set 13 : Rebase #

Total comments: 10

Patch Set 14 : Rebase #

Total comments: 6

Patch Set 15 : Review comments addressed #

Patch Set 16 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -133 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html View 1 2 3 4 5 6 7 8 9 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.png View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt View 1 2 3 4 5 6 7 8 9 10 3 chunks +28 lines, -28 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug7714-expected.png View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug7714-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +13 lines, -13 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug8858-expected.png View 1 2 3 4 5 6 7 8 9 10 Binary file 0 comments Download
M LayoutTests/platform/linux/tables/mozilla/bugs/bug8858-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -4 lines 0 comments Download
M LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug65372-expected.png View 1 2 3 4 5 6 7 8 9 Binary file 0 comments Download
M LayoutTests/platform/linux/tables/mozilla_expected_failures/bugs/bug65372-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +34 lines, -34 lines 0 comments Download
M LayoutTests/platform/win/tables/mozilla/bugs/bug13169-expected.png View Binary file 0 comments Download
M LayoutTests/tables/mozilla/bugs/bug13169-expected.txt View 1 chunk +18 lines, -18 lines 0 comments Download
M Source/core/rendering/RenderTableSection.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +45 lines, -33 lines 0 comments Download

Messages

Total messages: 47 (16 generated)
suchit.agrawal
On 2014/09/25 10:17:10, a.suchit wrote: > mailto:a.suchit@samsung.com changed reviewers: > + mailto:leviw@chromium.org, mailto:rschoen@google.com Please review ...
6 years, 2 months ago (2014-09-26 02:49:20 UTC) #3
a.suchit
On 2014/09/26 02:49:20, suchit.agrawal wrote: > On 2014/09/25 10:17:10, a.suchit wrote: > > mailto:a.suchit@samsung.com changed ...
6 years, 2 months ago (2014-09-27 06:34:54 UTC) #4
a.suchit
On 2014/09/27 06:34:54, a.suchit wrote: > On 2014/09/26 02:49:20, suchit.agrawal wrote: > > On 2014/09/25 ...
6 years, 2 months ago (2014-09-29 17:35:34 UTC) #6
a.suchit
On 2014/09/29 17:35:34, a.suchit wrote: > On 2014/09/27 06:34:54, a.suchit wrote: > > On 2014/09/26 ...
6 years, 2 months ago (2014-10-07 18:03:12 UTC) #7
Julien - ping for review
This patch needs a lot more explanations for me to be comfortable with it. https://codereview.chromium.org/596823002/diff/140001/Source/core/rendering/RenderTableSection.cpp ...
6 years, 2 months ago (2014-10-08 00:16:08 UTC) #8
a.suchit
https://codereview.chromium.org/596823002/diff/140001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/596823002/diff/140001/Source/core/rendering/RenderTableSection.cpp#newcode488 Source/core/rendering/RenderTableSection.cpp:488: unsigned RenderTableSection::calcRowHeightHavingOnlySpanningCells(unsigned row, unsigned& extraHeightToPropagate, unsigned r1, int& accumulatedPositionIncrease, ...
6 years, 2 months ago (2014-10-08 11:30:08 UTC) #9
suchit.agrawal
On 2014/10/08 11:30:08, a.suchit wrote: > https://codereview.chromium.org/596823002/diff/140001/Source/core/rendering/RenderTableSection.cpp > File Source/core/rendering/RenderTableSection.cpp (right): > > https://codereview.chromium.org/596823002/diff/140001/Source/core/rendering/RenderTableSection.cpp#newcode488 > ...
6 years, 2 months ago (2014-10-14 16:26:23 UTC) #10
dsinclair
https://codereview.chromium.org/596823002/diff/160001/LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html File LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html (right): https://codereview.chromium.org/596823002/diff/160001/LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html#newcode1 LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html:1: <html> Missing <!DOCTYPE html> https://codereview.chromium.org/596823002/diff/160001/LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html#newcode2 LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html:2: <head> Don't need ...
6 years, 2 months ago (2014-10-15 21:37:42 UTC) #12
pdr.
6 years, 2 months ago (2014-10-15 22:37:01 UTC) #14
suchit.agrawal
I updated my comments on your review comments. Please check. https://codereview.chromium.org/596823002/diff/160001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/596823002/diff/160001/Source/core/rendering/RenderTableSection.cpp#newcode488 ...
6 years, 2 months ago (2014-10-25 04:28:59 UTC) #16
suchit.agrawal
I updated my comments on your review comments. Please check.
6 years, 1 month ago (2014-10-31 23:14:24 UTC) #17
dsinclair
On 2014/10/31 23:14:24, suchit.agrawal wrote: > I updated my comments on your review comments. Please ...
6 years, 1 month ago (2014-11-01 03:11:05 UTC) #18
dsinclair
https://codereview.chromium.org/596823002/diff/160001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/596823002/diff/160001/Source/core/rendering/RenderTableSection.cpp#newcode488 Source/core/rendering/RenderTableSection.cpp:488: unsigned RenderTableSection::calcRowHeightHavingOnlySpanningCells(unsigned row, int& accumulatedPositionIncrease, unsigned effectedRowByExtraHeight, unsigned& extraHeightToPropagate, ...
6 years, 1 month ago (2014-11-05 17:03:21 UTC) #19
a.suchit
https://codereview.chromium.org/596823002/diff/160001/LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html File LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html (right): https://codereview.chromium.org/596823002/diff/160001/LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html#newcode1 LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html:1: <html> On 2014/10/15 21:37:41, dsinclair wrote: > Missing <!DOCTYPE ...
6 years ago (2014-12-03 13:09:14 UTC) #20
a.suchit
On 2014/12/03 13:09:14, a.suchit wrote: > https://codereview.chromium.org/596823002/diff/160001/LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html > File > LayoutTests/fast/table/table-rowspan-wrong-height-with-only-spanning-cells.html > (right): > > ...
6 years ago (2014-12-03 13:15:55 UTC) #21
dsinclair
Can you remove the uploaded .png's and run the layout tests so we can visually ...
6 years ago (2014-12-03 19:25:23 UTC) #22
a.suchit
https://codereview.chromium.org/596823002/diff/180001/LayoutTests/TestExpectations File LayoutTests/TestExpectations (right): https://codereview.chromium.org/596823002/diff/180001/LayoutTests/TestExpectations#newcode1409 LayoutTests/TestExpectations:1409: crbug.com/434090 inspector/tracing/worker-js-profile.html [ Pass Failure ] On 2014/12/03 19:25:22, ...
6 years ago (2014-12-10 04:27:42 UTC) #24
dsinclair
Can you please remove the modified expectation files and put the entries in TestExpectations. Can ...
6 years ago (2014-12-10 14:07:47 UTC) #26
a.suchit2
On 2014/12/10 14:07:47, dsinclair wrote: > Can you also do a try bot run without ...
6 years ago (2014-12-10 15:54:15 UTC) #27
dsinclair
On 2014/12/10 15:54:15, a.suchit2 wrote: > On 2014/12/10 14:07:47, dsinclair wrote: > > Can you ...
6 years ago (2014-12-10 15:56:38 UTC) #28
suchit.agrawal
On 2014/12/10 15:56:38, dsinclair wrote: > On 2014/12/10 15:54:15, a.suchit2 wrote: > > On 2014/12/10 ...
6 years ago (2014-12-10 18:15:33 UTC) #29
a.suchit2
https://codereview.chromium.org/596823002/diff/260001/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt File LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt (left): https://codereview.chromium.org/596823002/diff/260001/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt#oldcode9 LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt:9: RenderTable {TABLE} at (0,20) size 64x24 [border: (1px outset ...
6 years ago (2014-12-11 02:14:43 UTC) #31
suchit.agrawal
On 2014/12/11 02:14:43, a.suchit2 wrote: > https://codereview.chromium.org/596823002/diff/260001/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt > File LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt > (left): > > https://codereview.chromium.org/596823002/diff/260001/LayoutTests/platform/linux/tables/mozilla/bugs/bug133756-2-expected.txt#oldcode9 ...
6 years ago (2014-12-12 02:00:06 UTC) #32
Julien - ping for review
lgtm https://codereview.chromium.org/596823002/diff/280001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/596823002/diff/280001/Source/core/rendering/RenderTableSection.cpp#newcode506 Source/core/rendering/RenderTableSection.cpp:506: if (cell->rowSpan() <= 1) rowSpan is at least ...
6 years ago (2014-12-16 23:00:27 UTC) #33
a.suchit
https://codereview.chromium.org/596823002/diff/280001/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/596823002/diff/280001/Source/core/rendering/RenderTableSection.cpp#newcode506 Source/core/rendering/RenderTableSection.cpp:506: if (cell->rowSpan() <= 1) On 2014/12/16 23:00:27, Julien Chaffraix ...
6 years ago (2014-12-17 13:50:37 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/596823002/300001
6 years ago (2014-12-18 05:07:26 UTC) #38
commit-bot: I haz the power
Failed to apply patch for LayoutTests/TestExpectations: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years ago (2014-12-18 05:07:49 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/596823002/320001
6 years ago (2014-12-18 05:14:22 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/36045)
6 years ago (2014-12-18 07:40:08 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/596823002/320001
6 years ago (2014-12-18 09:44:32 UTC) #46
commit-bot: I haz the power
6 years ago (2014-12-18 10:42:13 UTC) #47
Message was sent while issue was closed.
Committed patchset #16 (id:320001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187448

Powered by Google App Engine
This is Rietveld 408576698