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

Issue 2816983002: LayoutTableCell::OffsetFromContainer() should use the flipped offset of its parent. (Closed)

Created:
3 years, 8 months ago by yuki.sekiguchi
Modified:
3 years, 8 months ago
Reviewers:
dgrogan, eae
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

LayoutTableCell::OffsetFromContainer() should use the flipped offset of its parent. Since LayoutTableCell is relative to LayoutTableSection, it should subtract the offset of the LayoutTableRow. OffsetFromContainer() is flipped value, but LayoutTableCell::OffsetFromContainer() uses LocationOffset() which is an unflipped location. Therefore, the rect of td goes outside of tr. It should use PhysicalLocationOffset() which returns a flipped location. BUG=711193 Review-Url: https://codereview.chromium.org/2816983002 Cr-Commit-Position: refs/heads/master@{#467467} Committed: https://chromium.googlesource.com/chromium/src/+/5cdd84c272ce41e804a9d4447b288f44d748c6af

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixed the review comments #

Patch Set 3 : Reformat the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -1 line) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/dom/Element/getBoundingClientRect-vertical-child.html View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTableCell.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (17 generated)
yuki.sekiguchi
Hi Emil, Could you review my CL? I'm not sure whether you're the right person. ...
3 years, 8 months ago (2017-04-13 08:54:40 UTC) #4
eae
dgrogan is the right reviewer for this. Thanks!
3 years, 8 months ago (2017-04-13 09:04:46 UTC) #6
dgrogan
Thanks for the patch. Don't be discouraged by the number of comments, we are just ...
3 years, 8 months ago (2017-04-25 23:23:35 UTC) #9
yuki.sekiguchi
Hi David, Thank you for reviewing. Fixed your comments. Comments inline: On 2017/04/25 23:23:35, dgrogan ...
3 years, 8 months ago (2017-04-26 11:45:18 UTC) #14
dgrogan
lgtm
3 years, 8 months ago (2017-04-26 20:59:09 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2816983002/40001
3 years, 8 months ago (2017-04-26 21:00:02 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/421328)
3 years, 8 months ago (2017-04-26 21:14:24 UTC) #21
dgrogan
eae, can you review this as OWNER? Also, do you know how to check that ...
3 years, 8 months ago (2017-04-26 21:25:37 UTC) #22
eae
LGTM Confirmed presence of CLA signature.
3 years, 8 months ago (2017-04-26 21:31:38 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2816983002/40001
3 years, 8 months ago (2017-04-26 21:34:56 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 21:45:47 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5cdd84c272ce41e804a9d4447b28...

Powered by Google App Engine
This is Rietveld 408576698