DescriptionPaint some content for animated elements in composited animation tests.
In SPv2 we won't create a layer for an element that paints no content.
For composited animation focused layout tests we explicitly want to
make sure the element under test is composited. Thus we must paint
some kind of content (what it is doesn't actually matter).
Here we add an 'x' as dummy text content to be painted by any element that is
intended to be animated. We could alternatively set a background color and
ensure the element has some non-empty size, but that involves more styling which
feels more intrusive.
BUG=692310
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Review-Url: https://codereview.chromium.org/2702483002
Cr-Commit-Position: refs/heads/master@{#453303}
Committed: https://chromium.googlesource.com/chromium/src/+/6d087c27d71247d697ae2afee12b5a7532551e68
Patch Set 1 #
Total comments: 7
Patch Set 2 : Remove zoom-responsive-transform-animation changes. #Patch Set 3 : Don't revise sample-on-last-keyframe.html test. #Messages
Total messages: 19 (9 generated)
|