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

Issue 306093002: Use the correct method for computing a repaint rect that takes into account squashing. (Closed)

Created:
6 years, 6 months ago by chrishtr
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, blink-layers+watch_chromium.org, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Use the correct method for computing a repaint rect that takes into account squashing. This fixes a mistake in crrev.com/301843002 Includes a test. BUG=370664 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175189

Patch Set 1 #

Patch Set 2 : Merged. #

Patch Set 3 : Added test fixes. #

Total comments: 4

Patch Set 4 : Small clarification. #

Total comments: 1

Patch Set 5 : Fixed test. #

Patch Set 6 : Add another rebaseline. #

Patch Set 7 : Fix typo. #

Total comments: 8

Messages

Total messages: 19 (0 generated)
chrishtr
6 years, 6 months ago (2014-05-30 01:09:48 UTC) #1
chrishtr
https://codereview.chromium.org/306093002/diff/40001/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt File LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt (right): https://codereview.chromium.org/306093002/diff/40001/LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt#newcode9 LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt:9: (rect 45.00 45.00 50.00 150.00) It actually is 45px ...
6 years, 6 months ago (2014-05-30 16:28:05 UTC) #2
chrishtr
https://codereview.chromium.org/306093002/diff/60001/LayoutTests/compositing/squashing/tricky-element-removal-crash-expected.txt File LayoutTests/compositing/squashing/tricky-element-removal-crash-expected.txt (right): https://codereview.chromium.org/306093002/diff/60001/LayoutTests/compositing/squashing/tricky-element-removal-crash-expected.txt#newcode23 LayoutTests/compositing/squashing/tricky-element-removal-crash-expected.txt:23: (rect 8.00 8.00 92.00 92.00) This one is I ...
6 years, 6 months ago (2014-05-30 16:58:14 UTC) #3
leviw_travelin_and_unemployed
lgtm Okay.
6 years, 6 months ago (2014-05-30 17:32:34 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/306093002/60001
6 years, 6 months ago (2014-05-30 17:33:36 UTC) #5
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-05-30 18:19:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/306093002/80001
6 years, 6 months ago (2014-05-30 18:19:59 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-05-30 20:08:40 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-30 20:34:56 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/10161)
6 years, 6 months ago (2014-05-30 20:34:57 UTC) #10
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-05-30 22:35:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/306093002/80001
6 years, 6 months ago (2014-05-30 22:38:09 UTC) #12
chrishtr
The CQ bit was unchecked by chrishtr@chromium.org
6 years, 6 months ago (2014-05-30 23:29:36 UTC) #13
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 6 months ago (2014-05-30 23:32:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/306093002/100002
6 years, 6 months ago (2014-05-30 23:35:23 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-05-31 01:10:23 UTC) #16
commit-bot: I haz the power
Change committed as 175189
6 years, 6 months ago (2014-05-31 02:21:04 UTC) #17
ojan
A bunch of nits about the test. Except for the setTimeout thing, that really should ...
6 years, 6 months ago (2014-06-02 05:29:06 UTC) #18
chrishtr
6 years, 6 months ago (2014-06-02 16:22:32 UTC) #19
Message was sent while issue was closed.
Will send you a patch with these adjustments.

https://codereview.chromium.org/306093002/diff/100002/LayoutTests/compositing...
File
LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html
(right):

https://codereview.chromium.org/306093002/diff/100002/LayoutTests/compositing...
LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html:10:
<div id="testResults" style="display:none">
On 2014/06/02 05:29:06, ojan wrote:
> Why have the extra outer div? Why not just put the display:none on the pre
> itself?

Done.

https://codereview.chromium.org/306093002/diff/100002/LayoutTests/compositing...
LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html:15:
// the move.
On 2014/06/02 05:29:06, ojan wrote:
> This comment doesn't really say anything that isn't obvious in the test. The
> sorts of comments that are useful are the ones that say what the "this
> situation" is that's being tested. It's clear from the test itself that it's
> verifying repaint invalidations.

Done.

https://codereview.chromium.org/306093002/diff/100002/LayoutTests/compositing...
LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html:21:
setTimeout(function() {
On 2014/06/02 05:29:06, ojan wrote:
> Why the setTimeout? setTimeouts lead to slow/flaky tests.

Done.

https://codereview.chromium.org/306093002/diff/100002/LayoutTests/compositing...
LayoutTests/compositing/squashing/invalidations-with-large-negative-margin.html:22:
if (window.internals)
On 2014/06/02 05:29:06, ojan wrote:
> Having this if-check, but not checking it in the other places you check
> window.internals seems kind of random.

Done.

Powered by Google App Engine
This is Rietveld 408576698