Bug 174866 - When using a custom font WKWebView height is incorrect
Summary: When using a custom font WKWebView height is incorrect
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: Other
Hardware: iPhone / iPad iOS 10.3
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-07-26 09:42 PDT by Emuye
Modified: 2017-07-27 13:45 PDT (History)
3 users (show)

See Also:


Attachments
A sample project demonstrating the incorrect height. (963.48 KB, application/zip)
2017-07-26 09:42 PDT, Emuye
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emuye 2017-07-26 09:42:08 PDT
Created attachment 316451 [details]
A sample project demonstrating the incorrect height.

WKWebView has an incorrect body height when using a custom font. The attached project exhibits this problem. After the document loads the font will be incorrect with a custom font but correct with a system font.

I've tried a variety of ways of calculating the height and they all seem completely incorrect with a custom font.
Comment 1 Radar WebKit Bug Importer 2017-07-27 13:45:48 PDT
<rdar://problem/33575460>