WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Patch
(3.82 KB, patch)
2012-05-02 17:01 PDT
,
Jer Noble
mjs
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
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
<
rdar://problem/11240929
>
Jer Noble
Comment 3
2012-05-02 16:49:03 PDT
Created
attachment 139916
[details]
Patch
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
Committed
r116173
: <
http://trac.webkit.org/changeset/116173
>
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.
Top of Page
Format For Printing
XML
Clone This Bug