-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=123879 Patch by Piotr Grad <p.grad@samsung.com> on 2013-11-08 Reviewed by Eric Carlson. Source/WebCore: According to W3C specification playback is ended also when playback rate is negative and position is the earliest possible position. Test: media/video-ended-event-negative-playback.html * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): LayoutTests: Tests if ended event is triggered for audio/video elements after changing playback rate to negative. * media/video-ended-event-negative-playback-expected.txt: Added. * media/video-ended-event-negative-playback.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158965 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4053990b