Taking a visibility:hidden element full screen causes full screen window to disappear.
Ah, they're explicitly changing the style of the full screen element to "visibility:hidden" between when the user clicks the full screen button and when the page receives the webkitfullscreenchange event
<rdar://problem/11240929>
Created attachment 139916 [details] Patch
Created attachment 139918 [details] Patch Missed one ! in the conditional, and fixed an its -> it's misspelling in the ChangeLogs.
Comment on attachment 139918 [details] Patch r=me Is it possible to make a test?
Committed r116173: <http://trac.webkit.org/changeset/116173>
Comment on attachment 139918 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=139918&action=review > Source/WebKit/mac/WebView/WebFullScreenController.mm:474 > + if (!NSWidth(initialFrame) || !NSWidth(finalFrame) || !NSHeight(initialFrame) || !NSHeight(finalFrame)) Another way to write this: if (NSIsEmptyRect(initialFrame) || NSIsEmptyRect(finalFrame))