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

Issue 13722015: Update automatically-opt-into-composited-scrolling.html (Closed)

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

Description

Update automatically-opt-into-composited-scrolling.html This test is intended to generate all paint orderings that are noteworthy wrt opting into composited scrollincg. Looking at http://www.w3.org/TR/CSS2/visuren.html#z-index there are several categories of element considered when stacking elements in a stacking context. Categories 3-5 do not appear to overlap one another so we've chosen one element from the categories which can overlap and then permuted them. If the elements are given unique z-indices, we can force any paint ordering pre-promotion, so we test all of them. If a non-descendant also has z-index:0, then its ordering wrt the promoted container may change, so we test all valid orderings where this is the case. Similarly, if a descendant and a non-descendant both have z-index:0, they could also change order after promotion, so we consider those permutations as well. In addition to covering all interesting permutations and types of elements, we also have to consider cases where the element to be promoted is positioned-but-not-a-stacking-context or has an ancestor in the same stacking context that is positioned-but-not-a-stacking-context. These properties affect paint ordering as per: http://www.w3.org/TR/CSS2/visuren.html#z-index. R=jchaffraix BUG=222014 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148949

Patch Set 1 #

Patch Set 2 : #

Total comments: 17

Patch Set 3 : fixing review comments #

Total comments: 6

Patch Set 4 : adding comment to explain the need for both style recalc and settings.setAcceleratedCompositingForO… #

Patch Set 5 : rebase #

Patch Set 6 : + Ian's changes #

Patch Set 7 : final rebase for landing #

Messages

Total messages: 13 (0 generated)
hartmanng
Continuing review from https://codereview.appspot.com/7926043. jchaffraix, enne, please take a look. Julien, I tried to clarify ...
7 years, 8 months ago (2013-04-08 15:52:28 UTC) #1
Julien - ping for review
https://codereview.chromium.org/13722015/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html File LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html (right): https://codereview.chromium.org/13722015/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html#newcode54 LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html:54: <script type="text/javascript" charset="utf-8" src="automatically-opt-into-composited-scrolling.js"></script> Can we remove the useless ...
7 years, 8 months ago (2013-04-09 17:41:59 UTC) #2
hartmanng
https://codereview.chromium.org/13722015/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html File LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html (right): https://codereview.chromium.org/13722015/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html#newcode54 LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html:54: <script type="text/javascript" charset="utf-8" src="automatically-opt-into-composited-scrolling.js"></script> On 2013/04/09 17:41:59, jchaffraix wrote: ...
7 years, 8 months ago (2013-04-09 20:40:09 UTC) #3
enne (OOO)
Taking myself off the reviewer line and punting to jchaffraix.
7 years, 8 months ago (2013-04-09 21:26:53 UTC) #4
Julien - ping for review
https://codereview.chromium.org/13722015/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.js File LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.js (right): https://codereview.chromium.org/13722015/diff/2001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.js#newcode160 LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.js:160: if (window.internals) { On 2013/04/09 20:40:09, hartmanng wrote: > ...
7 years, 8 months ago (2013-04-09 22:05:06 UTC) #5
hartmanng
On 2013/04/09 22:05:06, jchaffraix wrote: > Ah, it makes sense indeed. You could also require ...
7 years, 8 months ago (2013-04-10 14:52:46 UTC) #6
Julien - ping for review
https://codereview.chromium.org/13722015/diff/14001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html File LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html (right): https://codereview.chromium.org/13722015/diff/14001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html#newcode54 LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html:54: <script src="automatically-opt-into-composited-scrolling.js"></script> This resource should be in the resources/ ...
7 years, 8 months ago (2013-04-18 01:07:17 UTC) #7
hartmanng
Thanks for the review! Posted another patch, PTAL. https://codereview.chromium.org/13722015/diff/14001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html File LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html (right): https://codereview.chromium.org/13722015/diff/14001/LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html#newcode54 LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling.html:54: <script ...
7 years, 8 months ago (2013-04-18 14:41:48 UTC) #8
Julien - ping for review
OK, LGTM
7 years, 8 months ago (2013-04-18 20:00:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/13722015/31001
7 years, 8 months ago (2013-04-23 20:58:30 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=2552
7 years, 8 months ago (2013-04-23 21:44:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/13722015/31001
7 years, 8 months ago (2013-04-24 00:41:31 UTC) #12
commit-bot: I haz the power
7 years, 8 months ago (2013-04-24 00:41:57 UTC) #13
Message was sent while issue was closed.
Change committed as 148949

Powered by Google App Engine
This is Rietveld 408576698