Changeset 88629 in webkit
- Timestamp:
- Jun 12, 2011 11:20:45 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88628 r88629 1 2011-06-12 Jer Noble <jer.noble@apple.com> 2 3 Reviewed by Darin Adler. 4 5 REGRESSION (full screen video): Watch Again button is obscured after full screen playback ends at Apple trailers page 6 https://bugs.webkit.org/show_bug.cgi?id=62507 7 8 No new tests; DRT would have to be modified to delay between receiving exitFullScreenForElement() and calling 9 webkitWillExitFullScreenForElement() to be able to test this. 10 11 If the full-screen element is removed, and webkitWillExitFullScreenForElement() is not called before 12 fullScreenElementRemoved() returns, then ancestors of the full-screen element will not have their 13 containsFullScreenElement property removed. To protect against this, reset the property by calling 14 setContainsFullScreenElementRecursively() from within fullScreenElementRemoved(). 15 16 * dom/Document.cpp: 17 (WebCore::Document::fullScreenElementRemoved): Added call to setContainsFullScreenElementRecursively. 18 1 19 2011-06-12 Adam Barth <abarth@webkit.org> 2 20 -
trunk/Source/WebCore/dom/Document.cpp
r88591 r88629 4917 4917 void Document::fullScreenElementRemoved() 4918 4918 { 4919 setContainsFullScreenElementRecursively(m_fullScreenElement->parentElement() ? m_fullScreenElement->parentElement() : ownerElement(), false); 4919 4920 webkitCancelFullScreen(); 4920 4921 }
Note: See TracChangeset
for help on using the changeset viewer.