Files
tubestation/testing/web-platform/tests/interfaces/local-font-access.idl
github-actions[bot] e9fff4474c Bug 1763608 [wpt PR 33548] - Sync interfaces/ with @webref/idl 3.6.1, a=testonly
Automatic update from web-platform-tests
Sync interfaces/ with @webref/idl 3.6.1 (#33548)

--

wpt-commits: 0ba5a2cf73e307ece7d2f6e91cae6989e22be278
wpt-pr: 33548
2022-04-14 10:09:36 +00:00

25 lines
649 B
Plaintext

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Local Font Access API (https://wicg.github.io/local-font-access/)
[SecureContext]
partial interface Window {
Promise<sequence<FontData>> queryLocalFonts(optional QueryOptions options = {});
};
dictionary QueryOptions {
sequence<DOMString> postscriptNames;
};
[Exposed=Window]
interface FontData {
Promise<Blob> blob();
// Names
readonly attribute USVString postscriptName;
readonly attribute USVString fullName;
readonly attribute USVString family;
readonly attribute USVString style;
};