WebCore:
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Dec 2007 20:02:21 +0000 (20:02 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Dec 2007 20:02:21 +0000 (20:02 +0000)
commit59e5a87021b740d5ec89c8ad9608c620961d6b83
tree9a601675a04b83479fba0f28ac9a48a97ad0232d
parent9e5eb9671c41ef4bfef0e74092e4660654392b3e
WebCore:

        Reviewed by Oliver.

        Fix for <rdar://problem/5631356> Toggling display property on video causes controls to get lost

        * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::attach): Call updateFromElement.
        * html/HTMLMediaElement.h:

LayoutTests:

        Reviewed by Oliver.

        Fix <rdar://problem/5631356> Toggling display property on video causes controls to get lost

        * media/video-display-toggle.html: Added.
        * platform/mac/media/video-display-toggle-expected.checksum: Added.
        * platform/mac/media/video-display-toggle-expected.png: Added.
        * platform/mac/media/video-display-toggle-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/media/video-display-toggle.html [new file with mode: 0644]
LayoutTests/platform/mac/media/video-display-toggle-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/media/video-display-toggle-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/media/video-display-toggle-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/html/HTMLMediaElement.cpp
WebCore/html/HTMLMediaElement.h