DescriptionFix flaky fast/events/touch/compositor-touch-hit-rects-scroll.html
1. We expect children of overflow div to be part of scrollingContent
layer to mark it as "scrolling" in the expected output. And also
expect the hit-test rect to be relative to the scrollingContent layer
to make the visualization correct. There is case where the scrolling
element lives in a separate GraphicsLayer than the scrollingContent
layer and mark scrollingCotent layer as its scroll parent. We want
to detect this case and also mark the element as "scrolling" in the
test output. And we also adjust the hit-test rect to be relative to
the scrollingContent layer to make the visualization to work.
2. Because there is a div with negative z-index in the page, compositor
forms a new layer "LayoutBlockFlow HTML" which, instead of the root
document layer, becomes the parent of all the test divs. So we see that
overflowwithborder has a hit-test rect in the space of "HTML", instead
of "#document". We just need to rebaseline for this.
BUG=339118
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196914
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|
||||||||||||||||||||||||||||