RESOLVED FIXED Bug 85432
Taking a visibility:hidden element full screen causes full screen window to disappear.
https://bugs.webkit.org/show_bug.cgi?id=85432
Summary Taking a visibility:hidden element full screen causes full screen window to d...
Jer Noble
Reported 2012-05-02 16:38:39 PDT
Taking a visibility:hidden element full screen causes full screen window to disappear.
Attachments
Patch (3.81 KB, patch)
2012-05-02 16:49 PDT, Jer Noble
no flags
Patch (3.82 KB, patch)
2012-05-02 17:01 PDT, Jer Noble
mjs: review+
Jer Noble
Comment 1 2012-05-02 16:41:48 PDT
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
Jer Noble
Comment 2 2012-05-02 16:41:58 PDT
Jer Noble
Comment 3 2012-05-02 16:49:03 PDT
Jer Noble
Comment 4 2012-05-02 17:01:31 PDT
Created attachment 139918 [details] Patch Missed one ! in the conditional, and fixed an its -> it's misspelling in the ChangeLogs.
Maciej Stachowiak
Comment 5 2012-05-02 17:25:03 PDT
Comment on attachment 139918 [details] Patch r=me Is it possible to make a test?
Jer Noble
Comment 6 2012-05-04 14:30:03 PDT
Darin Adler
Comment 7 2012-05-04 17:12:55 PDT
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))
Note You need to log in before you can comment on or make changes to this bug.