Paint 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}
Showing
Please register or sign in to comment