Chromium Code Reviews
DescriptionUpdate 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)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||