Bug 34381

Summary: Incomplete repaint of YouTube timeline thumb while scrolling
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser
Priority: P2 Keywords: GoogleBug, HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Reduction
none
Override -setNeedsDisplayInRect: and adjust the invalid rects during scrolling simon.fraser: review+

Description mitz 2010-01-30 18:12:51 PST
Created attachment 47778 [details]
Reduction

The timeline thumb on YouTube videos using a custom <video> controller leaves trails behind if the page is scrolled while the video is playing. This is apparently caused by a scroll event listener that forces layout, and can be reproduced with the attached reduction by scrolling it slowly, either by Option-dragging the scroller or scrolling with a Magic Mouse.
Comment 1 mitz 2010-01-30 18:13:54 PST
This happens in TOT as well as in Safari 4.0.4.
Comment 2 mitz 2010-02-03 22:05:27 PST
<rdar://problem/7611158>
Comment 3 mitz 2010-02-22 23:06:33 PST
Created attachment 49267 [details]
Override -setNeedsDisplayInRect: and adjust the invalid rects during scrolling
Comment 4 Simon Fraser (smfr) 2010-02-23 07:53:54 PST
Comment on attachment 49267 [details]
Override -setNeedsDisplayInRect: and adjust the invalid rects during scrolling

r=me

I guess it's not possible to do a repaint test?
Comment 5 mitz 2010-02-23 09:55:20 PST
Fixed in <http://trac.webkit.org/projects/webkit/changeset/55159>.
Comment 6 Simon Fraser (smfr) 2016-10-07 16:39:29 PDT
Followup fix in bug 163154.