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

Issue 821203003: Handling of percent less than 1 while extra height distribution in spanning rows. (Closed)

Created:
5 years, 12 months ago by a.suchit
Modified:
5 years, 8 months ago
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Handling of percent less than 1 while extra height distribution in spanning rows. In a table, only one row is present with rowspan value 2 and row height is less than 1 percent. Percent is handled as integer so it becomes 0 and extra height is not distributed in any of the row because whole extra height should go to only percent rows. Now, Converted the required percent unit to LayoutUnit in place of int. R=jchaffraix@chromium.org BUG=408066 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193449

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : Updated test expectations #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Review comments addressed #

Total comments: 1

Patch Set 7 : Patch set 5 and rebase #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -9 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-rowspan-height-less-than-one-percent-expected.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/layout/LayoutTableSection.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutTableSection.cpp View 1 2 3 4 5 6 7 3 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
suchit.agrawal
Please review it. Thanks
5 years, 12 months ago (2014-12-23 13:05:30 UTC) #2
Julien - ping for review
https://codereview.chromium.org/821203003/diff/1/LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html File LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html (right): https://codereview.chromium.org/821203003/diff/1/LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html#newcode11 LayoutTests/fast/table/table-rowspan-height-less-than-one-percent.html:11: <p>For this test to PASS, it should not crash.</p> ...
5 years, 11 months ago (2015-01-02 10:13:37 UTC) #3
a.suchit
Sorry for delay ... https://codereview.chromium.org/821203003/diff/1/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/821203003/diff/1/Source/core/rendering/RenderTableSection.cpp#newcode335 Source/core/rendering/RenderTableSection.cpp:335: int toAdd = (tableHeight * ...
5 years, 11 months ago (2015-01-07 11:17:09 UTC) #4
Julien - ping for review
https://codereview.chromium.org/821203003/diff/1/Source/core/rendering/RenderTableSection.cpp File Source/core/rendering/RenderTableSection.cpp (right): https://codereview.chromium.org/821203003/diff/1/Source/core/rendering/RenderTableSection.cpp#newcode335 Source/core/rendering/RenderTableSection.cpp:335: int toAdd = (tableHeight * std::ceil(m_grid[row].logicalHeight.percent()) / 100) - ...
5 years, 11 months ago (2015-01-07 13:30:10 UTC) #5
a.suchit2
Hi Julien, Right now I did not use the Layout unit for fixing this issue. ...
5 years, 9 months ago (2015-03-16 13:43:46 UTC) #7
a.suchit
On 2015/03/16 13:43:46, a.suchit2 wrote: > Hi Julien, Right now I did not use the ...
5 years, 9 months ago (2015-03-17 04:55:55 UTC) #8
Julien - ping for review
On 2015/03/16 at 13:43:46, a.suchit wrote: > Hi Julien, Right now I did not use ...
5 years, 9 months ago (2015-03-17 15:24:54 UTC) #9
suchit.agrawal
On 2015/03/17 15:24:54, Julien Chaffraix - PST wrote: > On 2015/03/16 at 13:43:46, a.suchit wrote: ...
5 years, 9 months ago (2015-03-17 16:08:07 UTC) #10
a.suchit2
On 2015/03/17 16:08:07, suchit.agrawal wrote: > On 2015/03/17 15:24:54, Julien Chaffraix - PST wrote: > ...
5 years, 9 months ago (2015-03-20 11:45:07 UTC) #11
Julien - ping for review
LayoutUnit makes no sense and I am sorry for sending you in the wrong direction ...
5 years, 9 months ago (2015-03-26 17:05:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/821203003/140001
5 years, 8 months ago (2015-04-09 11:51:11 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://src.chromium.org/viewvc/blink?view=rev&revision=193449
5 years, 8 months ago (2015-04-09 15:09:18 UTC) #17
pdr.
5 years, 8 months ago (2015-04-10 05:08:08 UTC) #18
Message was sent while issue was closed.
On 2015/04/09 at 15:09:18, commit-bot wrote:
> Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193449

The expected test results uploaded in this patch do not match the test results
generated by the rebaseline bot.

Powered by Google App Engine
This is Rietveld 408576698