2011-05-18 Jeremy Noble <jer.noble@apple.com>
authorJer Noble <jer.noble@apple.com>
Thu, 19 May 2011 23:17:00 +0000 (23:17 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 3 Jun 2011 20:37:07 +0000 (17:37 -0300)
commit178109ae8b55f7bdf6e9fda9678f77dfc3e72a55
treeb2123ca76247b3f08b12d45a182af6d93f18d602
parentc02b89cbe74911a3ee84be461859ca9a8ec82ec1
2011-05-18  Jeremy Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        Poster is not shown in Safari for video element with no playable source elements.
        https://bugs.webkit.org/show_bug.cgi?id=61109

        * media/video-src-invalid-poster-expected.txt: Added.
        * media/video-src-invalid-poster.html: Added.
2011-05-18  Jeremy Noble  <jer.noble@apple.com>

        Reviewed by Darin Adler.

        Poster is not shown in Safari for video element with no playable source elements.
        https://bugs.webkit.org/show_bug.cgi?id=61109

        Test: media/video-src-invalid-poster.html

        In the case where no video sources are playable, update the display state and
        renderer, allowing the poster image to display.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::waitForSourceChange):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/video-src-invalid-poster-expected.txt [new file with mode: 0644]
LayoutTests/media/video-src-invalid-poster.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLMediaElement.cpp