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

Issue 22589002: Margins on children of display:table-cell elements get stuck at highest value. (Closed)

Created:
7 years, 4 months ago by a.suchit
Modified:
7 years, 4 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

Margins on children of display:table-cell elements get stuck at highest value. Row's beforeMargin was not resetting back to 0 when margin of the cell's child is changed from 40px tp 0. Calculating the row's baseline excluding intrinsic padding because row's baseline will come into it's right position when row's baseline would be calculated for the cell which is introducing intrinsic padding for other cells. R=ojan@chromium.org BUG=241331 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155864

Patch Set 1 #

Total comments: 3

Patch Set 2 : Simplify test case with Ref Test #

Total comments: 13

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -3 lines) Patch
A LayoutTests/fast/table/table-toggle-paragraph-padding.html View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/table/table-toggle-paragraph-padding-expected.txt View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderTableSection.cpp View 1 2 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
suchit.agrawal
7 years, 4 months ago (2013-08-07 13:59:37 UTC) #1
ojan
I'd prefer Julien to review the C++ side of this if he doesn't mind. He's ...
7 years, 4 months ago (2013-08-07 23:03:12 UTC) #2
a.suchit
https://codereview.chromium.org/22589002/diff/1/LayoutTests/fast/table/table-toggle-paragraph-padding.html File LayoutTests/fast/table/table-toggle-paragraph-padding.html (right): https://codereview.chromium.org/22589002/diff/1/LayoutTests/fast/table/table-toggle-paragraph-padding.html#newcode11 LayoutTests/fast/table/table-toggle-paragraph-padding.html:11: setTimeout(funRemoveClass, 0); On 2013/08/07 23:03:12, ojan wrote: > I ...
7 years, 4 months ago (2013-08-08 10:19:29 UTC) #3
Julien - ping for review
The C++ code change is fine. The test needs a bit more love but it's ...
7 years, 4 months ago (2013-08-08 22:15:51 UTC) #4
ojan
https://codereview.chromium.org/22589002/diff/7001/LayoutTests/fast/table/table-toggle-paragraph-padding.html File LayoutTests/fast/table/table-toggle-paragraph-padding.html (right): https://codereview.chromium.org/22589002/diff/7001/LayoutTests/fast/table/table-toggle-paragraph-padding.html#newcode14 LayoutTests/fast/table/table-toggle-paragraph-padding.html:14: <div> On 2013/08/08 22:15:51, Julien Chaffraix wrote: > Do ...
7 years, 4 months ago (2013-08-08 22:19:29 UTC) #5
suchit.agrawal
https://codereview.chromium.org/22589002/diff/7001/LayoutTests/fast/table/table-toggle-paragraph-padding.html File LayoutTests/fast/table/table-toggle-paragraph-padding.html (right): https://codereview.chromium.org/22589002/diff/7001/LayoutTests/fast/table/table-toggle-paragraph-padding.html#newcode4 LayoutTests/fast/table/table-toggle-paragraph-padding.html:4: .cell .thinger { background-color: salmon; } On 2013/08/08 22:15:51, ...
7 years, 4 months ago (2013-08-09 11:00:42 UTC) #6
Julien - ping for review
lgtm
7 years, 4 months ago (2013-08-09 15:59:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/a.suchit@samsung.com/22589002/15001
7 years, 4 months ago (2013-08-09 18:06:09 UTC) #8
commit-bot: I haz the power
7 years, 4 months ago (2013-08-09 20:33:00 UTC) #9
Message was sent while issue was closed.
Change committed as 155864

Powered by Google App Engine
This is Rietveld 408576698