Bug 160609

Summary: marquee with "truespeed" animates at > 60fps, hogging CPU
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Simon Fraser (smfr)
Reported 2016-08-05 14:15:57 PDT
LayoutTests/fast/html/marquee-scroll.html shows a problem where a marquee like: <marquee width="50%" behavior="slide" bgcolor="cyan" truespeed="" scrollDelay="0"> triggers animation with a zero-delay timer, which is way faster than 60fps and eats CPU. It's also notable that the test fails to animate the marquee at all, yet still triggers massive numbers of repaints.
Attachments
Patch (135.53 KB, patch)
2016-08-05 14:22 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2016-08-05 14:16:09 PDT
Simon Fraser (smfr)
Comment 2 2016-08-05 14:22:13 PDT
Dave Hyatt
Comment 3 2016-08-05 14:22:55 PDT
Comment on attachment 285452 [details] Patch r=me
WebKit Commit Bot
Comment 4 2016-08-05 15:35:36 PDT
Comment on attachment 285452 [details] Patch Clearing flags on attachment: 285452 Committed r204197: <http://trac.webkit.org/changeset/204197>
WebKit Commit Bot
Comment 5 2016-08-05 15:35:39 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.