WebKit Bugzilla
Attachment 357200 Details for
Bug 192644
: WKWebView returns invalid window screen width and height in classic iPad apps
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-192644-20181212175749.patch (text/plain), 1.48 KB, created by
Andrew Wooster
on 2018-12-12 17:57:50 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Andrew Wooster
Created:
2018-12-12 17:57:50 PST
Size:
1.48 KB
patch
obsolete
>Index: Source/WebCore/ChangeLog >=================================================================== >--- Source/WebCore/ChangeLog (revision 239140) >+++ Source/WebCore/ChangeLog (working copy) >@@ -1,3 +1,16 @@ >+2018-12-12 Andrew Wooster <andrew@planetaryscale.com> >+ >+ WKWebView returns invalid window screen width and height in classic iPad apps >+ https://bugs.webkit.org/show_bug.cgi?id=192644 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ No new tests (OOPS!). >+ >+ * platform/ios/PlatformScreenIOS.mm: >+ (WebCore::screenSize): >+ (WebCore::availableScreenSize): >+ > 2018-12-12 Justin Fan <justin_fan@apple.com> > > [WebGPU] Vertex buffers and WebGPUInputState >Index: Source/WebCore/platform/ios/PlatformScreenIOS.mm >=================================================================== >--- Source/WebCore/platform/ios/PlatformScreenIOS.mm (revision 239132) >+++ Source/WebCore/platform/ios/PlatformScreenIOS.mm (working copy) >@@ -129,15 +129,11 @@ float screenPPIFactor() > > FloatSize screenSize() > { >- if (deviceHasIPadCapability() && [[PAL::getUIApplicationClass() sharedApplication] _isClassic]) >- return { 320, 480 }; > return FloatSize([[PAL::getUIScreenClass() mainScreen] _referenceBounds].size); > } > > FloatSize availableScreenSize() > { >- if (deviceHasIPadCapability() && [[PAL::getUIApplicationClass() sharedApplication] _isClassic]) >- return { 320, 480 }; > return FloatSize([PAL::getUIScreenClass() mainScreen].bounds.size); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 192644
:
357186
|
357200
|
357264