The changes for https://bugs.webkit.org/show_bug.cgi?id=87337 (landed as http://svn.webkit.org/repository/webkit/trunk@119119) introduced a bug. The same conditions are not checked on enter fullscreen vs. exit.
Web sites such as http://videojs.com and youtube's mobile HTML5 player make the div container of the video element go fullscreen. This is allowed in WebPagePrivate::enterFullScreenForElement() but disallowed in WebPagePrivate::exitFullScreenForElement().
I am fixing this by allowing containers of video elements to exit fullscreen.
Created attachment 162593 [details]
Comment on attachment 162593 [details]
Clearing flags on attachment: 162593
Committed r127975: <http://trac.webkit.org/changeset/127975>
All reviewed patches have been landed. Closing bug.
Closing bug for patch that landed a long time ago.