RESOLVED FIXED Bug 131497
[iOS][WK2] Videos should animate into and out of fullscreen.
https://bugs.webkit.org/show_bug.cgi?id=131497
Summary [iOS][WK2] Videos should animate into and out of fullscreen.
Jer Noble
Reported 2014-04-10 10:08:36 PDT
[iOS][WK2] Videos should animate into and out of fullscreen.
Attachments
Patch (13.96 KB, patch)
2014-04-10 10:18 PDT, Jer Noble
no flags
Patch (14.27 KB, patch)
2014-04-10 20:52 PDT, Jer Noble
no flags
Patch (15.65 KB, patch)
2014-04-10 21:17 PDT, Jer Noble
no flags
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion (491.18 KB, application/zip)
2014-04-10 23:43 PDT, Build Bot
no flags
Patch (5.00 KB, patch)
2014-04-15 16:36 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2014-04-10 10:18:47 PDT
Jer Noble
Comment 2 2014-04-10 20:52:48 PDT
Jer Noble
Comment 3 2014-04-10 21:17:28 PDT
Created attachment 229105 [details] Patch Now with 100% more changes to WebCore.exp.in.
Build Bot
Comment 4 2014-04-10 23:43:33 PDT
Comment on attachment 229105 [details] Patch Attachment 229105 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5897126294847488 New failing tests: transitions/cancel-transition.html
Build Bot
Comment 5 2014-04-10 23:43:38 PDT
Created attachment 229112 [details] Archive of layout-test-results from webkit-ews-01 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-01 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Eric Carlson
Comment 6 2014-04-11 09:25:45 PDT
Comment on attachment 229105 [details] Patch r=me but Jeremy should have a close look as well, and *then* you will need to find a WK2 reviewer to give it an official r+
Jeremy Jones
Comment 7 2014-04-11 11:58:51 PDT
Comment on attachment 229105 [details] Patch unofficial r=me. Once nit is that obj-c coordinates are points as doubles. IntRect won't be able to represent every pixel location.
Simon Fraser (smfr)
Comment 8 2014-04-11 12:10:53 PDT
Comment on attachment 229105 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=229105&action=review > Source/WebKit2/WebProcess/ios/WebVideoFullscreenManager.mm:54 > +static IntRect screenRectOfContents(Node* node) > +{ > + if (!node || !node->isElementNode()) Seems like the fullscreen code should be changed to use Element everywhere, right. Is it even possible to take a non-element node fullscreen? Better name for the function would be screenRectForNode().
Jer Noble
Comment 9 2014-04-11 13:42:28 PDT
(In reply to comment #7) > (From update of attachment 229105 [details]) > unofficial r=me. Once nit is that obj-c coordinates are points as doubles. IntRect won't be able to represent every pixel location. Unfortunately, we only have IntRects from our WebCore screen coordinate functions.
Jer Noble
Comment 10 2014-04-11 13:43:06 PDT
(In reply to comment #8) > (From update of attachment 229105 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=229105&action=review > > > Source/WebKit2/WebProcess/ios/WebVideoFullscreenManager.mm:54 > > +static IntRect screenRectOfContents(Node* node) > > +{ > > + if (!node || !node->isElementNode()) > > Seems like the fullscreen code should be changed to use Element everywhere, right. Is it even possible to take a non-element node fullscreen? Sure, but that involves a lot of changes to our full screen ChromeClient APIs. We should clean out some of that chaff though. > Better name for the function would be screenRectForNode(). Sure thing.
Jer Noble
Comment 11 2014-04-11 14:51:42 PDT
Jer Noble
Comment 12 2014-04-15 16:36:15 PDT
Reopening to attach new patch.
Jer Noble
Comment 13 2014-04-15 16:36:18 PDT
Jer Noble
Comment 14 2014-04-15 17:56:02 PDT
Whoops, wrong bug.
Note You need to log in before you can comment on or make changes to this bug.