RESOLVED FIXED 185736
Ensure valid rects for fullsceen animation.
https://bugs.webkit.org/show_bug.cgi?id=185736
Summary Ensure valid rects for fullsceen animation.
Jeremy Jones
Reported 2018-05-17 10:47:06 PDT
Ensure valid rects for fullsceen animation.
Attachments
Patch (2.48 KB, patch)
2018-05-17 10:50 PDT, Jeremy Jones
jer.noble: review+
ews-watchlist: commit-queue-
Patch for Landing (2.58 KB, patch)
2018-05-17 11:00 PDT, Jeremy Jones
no flags
Archive of layout-test-results from ews101 for mac-sierra (2.30 MB, application/zip)
2018-05-17 11:56 PDT, EWS Watchlist
no flags
Jeremy Jones
Comment 1 2018-05-17 10:48:25 PDT
Jeremy Jones
Comment 2 2018-05-17 10:50:36 PDT
Jer Noble
Comment 3 2018-05-17 10:55:33 PDT
Comment on attachment 340599 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=340599&action=review r=me with nit: > Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:507 > + > + _initialFrame.size.width = std::max(_initialFrame.size.width, 1.0); > + _initialFrame.size.height = std::max(_initialFrame.size.height, 1.0); You could have a helper function here: static CGSize sizeExpandedToSize(CGSize initial, CGSize other) { return CGSizeMake(std::max(initial.width, other.width), std::max(initial.height, other.height)); }
Jeremy Jones
Comment 4 2018-05-17 10:58:34 PDT
(In reply to Jer Noble from comment #3) > Comment on attachment 340599 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=340599&action=review > > r=me with nit: > > > Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:507 > > + > > + _initialFrame.size.width = std::max(_initialFrame.size.width, 1.0); > > + _initialFrame.size.height = std::max(_initialFrame.size.height, 1.0); > > You could have a helper function here: > > static CGSize sizeExpandedToSize(CGSize initial, CGSize other) > { > return CGSizeMake(std::max(initial.width, other.width), > std::max(initial.height, other.height)); > } Done.
Jeremy Jones
Comment 5 2018-05-17 11:00:13 PDT
Created attachment 340604 [details] Patch for Landing
WebKit Commit Bot
Comment 6 2018-05-17 11:47:12 PDT
Comment on attachment 340604 [details] Patch for Landing Clearing flags on attachment: 340604 Committed r231914: <https://trac.webkit.org/changeset/231914>
EWS Watchlist
Comment 7 2018-05-17 11:56:50 PDT
Comment on attachment 340599 [details] Patch Attachment 340599 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7712249 New failing tests: media/modern-media-controls/scrubber-support/scrubber-support-drag.html
EWS Watchlist
Comment 8 2018-05-17 11:56:51 PDT
Created attachment 340618 [details] Archive of layout-test-results from ews101 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-sierra Platform: Mac OS X 10.12.6
Note You need to log in before you can comment on or make changes to this bug.