Bug 184532 - document.fonts.check isn't work correctly
Summary: document.fonts.check isn't work correctly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 11
Hardware: PC Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-04-12 05:08 PDT by David
Modified: 2019-06-16 21:08 PDT (History)
4 users (show)

See Also:


Attachments
strange result (172.70 KB, image/png)
2018-04-12 05:08 PDT, David
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-04-12 05:08:53 PDT
Created attachment 337788 [details]
strange result

if you use function  `document.fonts.check` for random font name result will be `true`

document.fonts.check('12px normal ANY_RANDOM_NAME'); // return true O_o

Safari desktop 11-10
Comment 1 Radar WebKit Bug Importer 2018-04-12 07:13:50 PDT
<rdar://problem/39380289>