Bug 145389

Summary: CSS animations in filling-forwards state shouldn't force compositing.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, dino, dstockwell, esprehn+autocc, glenn, kling, kondapallykalyan, rniwa, simon.fraser
Priority: P2 Keywords: InRadar, Performance
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-mavericks
none
Archive of layout-test-results from ews105 for mac-mavericks-wk2
none
Patch simon.fraser: review+

Description Andreas Kling 2015-05-26 14:49:12 PDT
<rdar://problem/17923642>

Currently CSS animations will force elements to be composited indefinitely, even after the animation is done and we're just filling forwards.
We should drop the compositing requirement when we reach the end, which would allow some content to flatten and use less memory.
Comment 1 Andreas Kling 2015-05-26 14:50:43 PDT
Created attachment 253742 [details]
Patch
Comment 2 Build Bot 2015-05-26 15:33:21 PDT
Comment on attachment 253742 [details]
Patch

Attachment 253742 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/5346369107656704

New failing tests:
compositing/animation/filling-animation-overlap-at-end.html
compositing/animation/filling-animation-overlap.html
compositing/animation/layer-for-filling-animation.html
Comment 3 Build Bot 2015-05-26 15:33:24 PDT
Created attachment 253747 [details]
Archive of layout-test-results from ews103 for mac-mavericks

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-mavericks  Platform: Mac OS X 10.9.5
Comment 4 Build Bot 2015-05-26 15:36:20 PDT
Comment on attachment 253742 [details]
Patch

Attachment 253742 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/6548355433889792

New failing tests:
compositing/animation/filling-animation-overlap-at-end.html
compositing/animation/filling-animation-overlap.html
compositing/animation/layer-for-filling-animation.html
Comment 5 Build Bot 2015-05-26 15:36:23 PDT
Created attachment 253748 [details]
Archive of layout-test-results from ews105 for mac-mavericks-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-mavericks-wk2  Platform: Mac OS X 10.9.5
Comment 6 Andreas Kling 2015-06-01 16:05:34 PDT
Created attachment 254020 [details]
Patch

Patch2Stop letting fill-forwards affect compositing.
Comment 7 Simon Fraser (smfr) 2015-06-01 16:17:18 PDT
Comment on attachment 254020 [details]
Patch

r+, but you need a test that checks that a filling-forward transform animation doesn't make a compositing layer.
Comment 8 Andreas Kling 2015-06-01 19:30:03 PDT
Committed r185097: <http://trac.webkit.org/changeset/185097>