NEW 139650
Switching src of <video> with clipping layer results in empty black square.
https://bugs.webkit.org/show_bug.cgi?id=139650
Summary Switching src of <video> with clipping layer results in empty black square.
Jer Noble
Reported 2014-12-15 11:21:05 PST
Switching src of <video> with clipping layer results in empty black square.
Attachments
Patch (5.53 KB, patch)
2014-12-15 11:24 PST, Jer Noble
no flags
Patch for landing (6.01 KB, patch)
2014-12-15 14:11 PST, Jer Noble
no flags
Jer Noble
Comment 1 2014-12-15 11:24:46 PST
Simon Fraser (smfr)
Comment 2 2014-12-15 11:27:14 PST
Comment on attachment 243302 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243302&action=review > Source/WebCore/ChangeLog:8 > + Test: compositing/video-clip-change-src.html Please move to compositing/video/ > LayoutTests/compositing/video-clip-change-src-expected.html:12 > + video.addEventListener('canplaythrough', endTest); Seems like this could give a false positive, if both ref and test end before a video frame is actually shown?
Jer Noble
Comment 3 2014-12-15 11:32:08 PST
(In reply to comment #2) > Comment on attachment 243302 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=243302&action=review > > > Source/WebCore/ChangeLog:8 > > + Test: compositing/video-clip-change-src.html > > Please move to compositing/video/ > > > LayoutTests/compositing/video-clip-change-src-expected.html:12 > > + video.addEventListener('canplaythrough', endTest); > > Seems like this could give a false positive, if both ref and test end before > a video frame is actually shown? It could; should we just do a pixel test here?
Simon Fraser (smfr)
Comment 4 2014-12-15 11:58:34 PST
> It could; should we just do a pixel test here? Can you make it so that missing video frames are reliably detected? E.g. <video style="background-color:blue">
Jer Noble
Comment 5 2014-12-15 14:11:58 PST
Created attachment 243307 [details] Patch for landing
WebKit Commit Bot
Comment 6 2014-12-15 17:04:35 PST
Comment on attachment 243307 [details] Patch for landing Clearing flags on attachment: 243307 Committed r177324: <http://trac.webkit.org/changeset/177324>
Note You need to log in before you can comment on or make changes to this bug.