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

Issue 1340423004: Change output method of paint invalidation failure message (Closed)

Created:
5 years, 3 months ago by Xianzhu
Modified:
5 years, 3 months ago
Reviewers:
pdr., ojan
CC:
blink-reviews, dpranke
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Change output method of paint invalidation failure message Previously we remove all contents of the test html and insert message. This makes the actual result invisible. Put a mesage box at the top-right corner to indicate paint invalidation objects mismatch. pdr@ contributed the idea and also he svg support code. BUG=524134 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202425

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add pdr's svg code #

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -9 lines) Patch
M LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js View 1 1 chunk +38 lines, -9 lines 1 comment Download

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
Xianzhu
5 years, 3 months ago (2015-09-16 20:41:07 UTC) #2
pdr.
LGTM https://codereview.chromium.org/1340423004/diff/1/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js File LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js (right): https://codereview.chromium.org/1340423004/diff/1/LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js#newcode49 LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js:49: // TODO(wangxianzhu): The following works for HTML only. ...
5 years, 3 months ago (2015-09-16 21:27:02 UTC) #3
pdr.
On 2015/09/16 at 21:27:02, pdr wrote: Note that I removed the force layout in the ...
5 years, 3 months ago (2015-09-16 21:31:13 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1340423004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1340423004/20001
5 years, 3 months ago (2015-09-17 03:16:34 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1340423004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1340423004/40001
5 years, 3 months ago (2015-09-17 03:18:07 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=202425
5 years, 3 months ago (2015-09-17 04:04:59 UTC) #12
Xianzhu
With this patch, the experience of checking failure results is better, but still not good ...
5 years, 3 months ago (2015-09-17 17:00:39 UTC) #13
Dirk Pranke
On 2015/09/17 17:00:39, Xianzhu wrote: > With this patch, the experience of checking failure results ...
5 years, 3 months ago (2015-09-17 18:20:07 UTC) #14
ojan
5 years, 3 months ago (2015-09-19 03:15:57 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/1340423004/diff/40001/LayoutTests/paint/inval...
File LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js
(left):

https://codereview.chromium.org/1340423004/diff/40001/LayoutTests/paint/inval...
LayoutTests/paint/invalidation/spv2/resources/paint-invalidation-test.js:43:
document.body.offsetTop;
Doesn't removing this make your tests flaky because you'll get different tracked
objects depending on whether a layout happened to happen or not?

Can you just do document.documentElement.offsetTop? Does that work in SVG?

Powered by Google App Engine
This is Rietveld 408576698