Video posters disappear once media has loaded
Created attachment 256982 [details] Patch
<rdar://problem/21359811>
Comment on attachment 256982 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256982&action=review r+ on the code change, but the test needs tweaking. > LayoutTests/compositing/video/poster.html:13 > +<p>This test makes sure that video posters are displayed even after the source is loaded</p> > +<video id="v" src="../resources/video.mp4" poster="../resources/simple_image.png"></video> Doesn't this bug only reproduce if controls are shown, or the video is composited for other reasons? You should use the scripts used by media tests to load the video, too.
Comment on attachment 256982 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=256982&action=review >> LayoutTests/compositing/video/poster.html:13 >> +<video id="v" src="../resources/video.mp4" poster="../resources/simple_image.png"></video> > > Doesn't this bug only reproduce if controls are shown, or the video is composited for other reasons? > > You should use the scripts used by media tests to load the video, too. Yes, please include media-file.js and use findMediaFile.
Created attachment 256990 [details] Patch
Created attachment 256997 [details] Patch
Committed r186968: <http://trac.webkit.org/changeset/186968>