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

Issue 13467028: Add an intermediate function to generate 2 paint-order lists. (Closed)

Created:
7 years, 8 months ago by hartmanng
Modified:
7 years, 8 months ago
CC:
blink-reviews, jchaffraix+rendering
Visibility:
Public.

Description

Add an intermediate function to generate 2 paint-order lists. The first represents the list before opting in to composited scrolling, and the second one shows what the state would be if we decided to opt in. These two lists will be necessary for our decision of whether or not to opt in, because we have to verify that this decision will not change the paint order. This also includes some plumbing and a layout test to ensure that the paint-order lists generated in this function conform to the stacking-order as verified by existing hit-testing code. R=jchaffraix BUG=222016 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149028

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 15

Patch Set 3 : Responding to Ian's comments #

Total comments: 12

Patch Set 4 : Shawn's review #

Patch Set 5 : Removed idl interface #

Patch Set 6 : fix rebase mistake #

Total comments: 11

Patch Set 7 : Addressing Julien's comments #

Patch Set 8 : minor fix - remove duplicate method #

Total comments: 8

Patch Set 9 : addressing review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+667 lines, -12 lines) Patch
A LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html View 1 2 3 4 5 6 7 8 1 chunk +184 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/compositing/overflow/build-paint-order-lists.html View 1 2 3 4 5 6 7 8 1 chunk +143 lines, -0 lines 0 comments Download
A + LayoutTests/compositing/overflow/build-paint-order-lists-expected.txt View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A LayoutTests/compositing/overflow/resources/build-paint-order-lists.js View 1 2 3 4 5 6 1 chunk +42 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 7 8 7 chunks +241 lines, -11 lines 0 comments Download
M Source/core/testing/Internals.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 3 4 5 6 7 1 chunk +34 lines, -0 lines 0 comments Download
M Source/core/testing/Internals.idl View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
hartmanng
Ian and Shawn, please pre-review this patch before I send it to jchaffraix and enne. ...
7 years, 8 months ago (2013-04-08 16:11:41 UTC) #1
eseidel
https://codereview.chromium.org/13467028/diff/1/Source/WebCore/dom/PaintOrderLists.idl File Source/WebCore/dom/PaintOrderLists.idl (right): https://codereview.chromium.org/13467028/diff/1/Source/WebCore/dom/PaintOrderLists.idl#newcode4 Source/WebCore/dom/PaintOrderLists.idl:4: ] interface PaintOrderLists { Is this for extensions? Or ...
7 years, 8 months ago (2013-04-09 07:20:34 UTC) #2
hartmanng
https://codereview.chromium.org/13467028/diff/1/Source/WebCore/dom/PaintOrderLists.idl File Source/WebCore/dom/PaintOrderLists.idl (right): https://codereview.chromium.org/13467028/diff/1/Source/WebCore/dom/PaintOrderLists.idl#newcode4 Source/WebCore/dom/PaintOrderLists.idl:4: ] interface PaintOrderLists { On 2013/04/09 07:20:34, Eric Seidel ...
7 years, 8 months ago (2013-04-09 16:02:37 UTC) #3
eseidel
I'm not an internals expert. Adding an idl file doesn't necessarily mean that it's exposed ...
7 years, 8 months ago (2013-04-09 20:12:07 UTC) #4
shawnsingh
In the meantime, I had a few other comments Maybe I'm misunderstanding why some parts ...
7 years, 8 months ago (2013-04-09 20:16:07 UTC) #5
hartmanng
On 2013/04/09 20:16:07, shawnsingh wrote: > In the meantime, I had a few other comments ...
7 years, 8 months ago (2013-04-09 23:26:01 UTC) #6
Ian Vollick
https://codereview.chromium.org/13467028/diff/15001/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html File LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html (right): https://codereview.chromium.org/13467028/diff/15001/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html#newcode2 LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html:2: <style type="text/css" media="screen"> Ditch the unnecessary attributes. https://codereview.chromium.org/13467028/diff/15001/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html#newcode36 LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html:36: ...
7 years, 8 months ago (2013-04-16 19:17:40 UTC) #7
hartmanng
I've responded to all the comments, and added a few other fixes I've gotten from ...
7 years, 8 months ago (2013-04-17 18:00:20 UTC) #8
shawnsingh
Next round of review here... Mostly nits, except for one worry I have about our ...
7 years, 8 months ago (2013-04-18 02:22:14 UTC) #9
hartmanng
https://codereview.chromium.org/13467028/diff/22001/Source/core/rendering/RenderLayer.cpp File Source/core/rendering/RenderLayer.cpp (right): https://codereview.chromium.org/13467028/diff/22001/Source/core/rendering/RenderLayer.cpp#newcode760 Source/core/rendering/RenderLayer.cpp:760: ancestorStackingContext->rebuildZOrderLists(StopAtStackingContexts, posZOrderListAfterPromote, negZOrderListAfterPromote, this); On 2013/04/18 02:22:14, shawnsingh wrote: ...
7 years, 8 months ago (2013-04-18 17:14:00 UTC) #10
shawnsingh
In response to the dirty/clean business --> I don't see that https://codereview.chromium.org/13859006/ is addressing the ...
7 years, 8 months ago (2013-04-19 06:51:31 UTC) #11
shawnsingh
typo above - it should say "the code does seem correct as it is" =)
7 years, 8 months ago (2013-04-19 06:54:43 UTC) #12
hartmanng
On 2013/04/19 06:51:31, shawnsingh wrote: > In response to the dirty/clean business --> > > ...
7 years, 8 months ago (2013-04-19 16:12:37 UTC) #13
shawnsingh
Sure, sounds good. =) this patch looks good to me, then
7 years, 8 months ago (2013-04-19 21:00:55 UTC) #14
dglazkov
I would avoid adding a new interface (the IDL file) just for testing. Especially if ...
7 years, 8 months ago (2013-04-19 21:15:16 UTC) #15
hartmanng
On 2013/04/19 21:15:16, Dimitri Glazkov wrote: > I would avoid adding a new interface (the ...
7 years, 8 months ago (2013-04-22 18:39:07 UTC) #16
hartmanng
Julien, this has been pre-reviewed by Ian and Shawn, I think it's ready for your ...
7 years, 8 months ago (2013-04-22 18:40:42 UTC) #17
Julien - ping for review
As a whole, the change looks good. I am just afraid of the code duplication. ...
7 years, 8 months ago (2013-04-22 21:49:29 UTC) #18
hartmanng
Thanks for the comments, Julien! I believe this is ready for another review. I've uploaded ...
7 years, 8 months ago (2013-04-23 21:32:37 UTC) #19
Julien - ping for review
LGTM. My comment was about the same setup code being copied and pasted several times. ...
7 years, 8 months ago (2013-04-24 15:44:01 UTC) #20
hartmanng
Thanks again for the review, Julien! https://codereview.chromium.org/13467028/diff/78001/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html File LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html (right): https://codereview.chromium.org/13467028/diff/78001/LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html#newcode140 LayoutTests/compositing/overflow/build-paint-order-list-where-opt-in-decisions-can-affect-each-other.html:140: write("FAIL - paint ...
7 years, 8 months ago (2013-04-24 17:02:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/13467028/83001
7 years, 8 months ago (2013-04-24 17:03:06 UTC) #22
commit-bot: I haz the power
Presubmit check for 13467028-83001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-24 17:09:14 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/13467028/83001
7 years, 8 months ago (2013-04-24 19:03:29 UTC) #24
commit-bot: I haz the power
Presubmit check for 13467028-83001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-24 19:09:34 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/13467028/83001
7 years, 8 months ago (2013-04-24 19:10:39 UTC) #26
commit-bot: I haz the power
Presubmit check for 13467028-83001 failed and returned exit status -2001. The presubmit check was hung. ...
7 years, 8 months ago (2013-04-24 19:16:46 UTC) #27
hartmanng
Committed patchset #9 manually as r149028 (presubmit successful).
7 years, 8 months ago (2013-04-24 19:26:35 UTC) #28
esprehn
This patch doesn't seem right. It adds 250 lines to RenderLayer all for running two ...
7 years, 8 months ago (2013-04-26 01:57:56 UTC) #29
Ian Vollick
On 2013/04/26 01:57:56, esprehn wrote: > This patch doesn't seem right. It adds 250 lines ...
7 years, 8 months ago (2013-04-26 02:09:27 UTC) #30
esprehn
7 years, 8 months ago (2013-04-26 02:12:39 UTC) #31
Message was sent while issue was closed.
This patch is also full of style violations and improper usage of types. :(

Powered by Google App Engine
This is Rietveld 408576698