|
|
Created:
4 years, 10 months ago by mstensho (USE GERRIT) Modified:
4 years, 10 months ago CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1 Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionUnit tests for LayoutObject::mapLocalToAncestor() (and overrides).
BUG=568492
Committed: https://crrev.com/9fc9177179ed5c6bc5e9824c669199c8b15b56e3
Cr-Commit-Position: refs/heads/master@{#375145}
Patch Set 1 #Patch Set 2 : Ahem considered useless. Let's try a different approach. #
Messages
Total messages: 20 (9 generated)
mstensho@opera.com changed reviewers: + leviw@chromium.org
Will write tests for carrots and beer! :) I really wanted to test scrolling and 3D transforms too, but this proved hard to do from unit tests. Probably because we don't paint.
pdr@chromium.org changed reviewers: + chrishtr@chromium.org
On 2016/02/11 at 12:15:58, mstensho wrote: > Will write tests for carrots and beer! :) > > I really wanted to test scrolling and 3D transforms too, but this proved hard to do from unit tests. Probably because we don't paint. +cc chrishtr just FYI. We don't have any carrots though, only sticks.
Can you add a link to BUG=568492 to track why I made you embark on this madness (for pdr and chrishtr, I proposed these tests to ensure we don't break the world with https://codereview.chromium.org/1516003003). I pity the paint sticks, but for my part I'll feel a lot more comfortable with the other patch with this. LGTM.
On 2016/02/11 at 12:15:58, mstensho wrote: > Will write tests for carrots and beer! :) > > I really wanted to test scrolling and 3D transforms too, but this proved hard to do from unit tests. Probably because we don't paint. That shouldn't matter...what went wrong when you tried it?
Description was changed from ========== Unit tests for LayoutObject::mapLocalToAncestor() (and overrides). ========== to ========== Unit tests for LayoutObject::mapLocalToAncestor() (and overrides). BUG=568492 ==========
On 2016/02/12 00:34:50, chrishtr wrote: > On 2016/02/11 at 12:15:58, mstensho wrote: > > Will write tests for carrots and beer! :) > > > > I really wanted to test scrolling and 3D transforms too, but this proved hard > to do from unit tests. Probably because we don't paint. > > That shouldn't matter...what went wrong when you tried it? PaintLayer::transform() behaved very differently. I had the same test.html in content_shell as in a unit test, and called getClientRects(), to trigger calls into mapLocalToAncestor().
On 2016/02/11 23:47:42, leviw wrote: > Can you add a link to BUG=568492 to track why I made you embark on this madness > (for pdr and chrishtr, I proposed these tests to ensure we don't break the world > with https://codereview.chromium.org/1516003003). Done. I'll just land this now. If we figure out to get 3D transforms to behave in unit tests, I'll upload a separate CL for that.
The CQ bit was checked by mstensho@opera.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681403004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681403004/20001
The CQ bit was unchecked by commit-bot@chromium.org
Failed to request the patch to try. Please note that binary files are still unsupported at the moment, this is being worked on. Thanks for your patience. Transient error: No JSON object could be decoded
The CQ bit was unchecked by commit-bot@chromium.org
The CQ bit was checked by mstensho@opera.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1681403004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1681403004/20001
Message was sent while issue was closed.
Description was changed from ========== Unit tests for LayoutObject::mapLocalToAncestor() (and overrides). BUG=568492 ========== to ========== Unit tests for LayoutObject::mapLocalToAncestor() (and overrides). BUG=568492 ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Unit tests for LayoutObject::mapLocalToAncestor() (and overrides). BUG=568492 ========== to ========== Unit tests for LayoutObject::mapLocalToAncestor() (and overrides). BUG=568492 Committed: https://crrev.com/9fc9177179ed5c6bc5e9824c669199c8b15b56e3 Cr-Commit-Position: refs/heads/master@{#375145} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/9fc9177179ed5c6bc5e9824c669199c8b15b56e3 Cr-Commit-Position: refs/heads/master@{#375145} |