Automatic update from web-platform-tests Sync interfaces/ with @webref/idl 3.6.1 (#33548) -- wpt-commits: 0ba5a2cf73e307ece7d2f6e91cae6989e22be278 wpt-pr: 33548
25 lines
649 B
Plaintext
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;
|
|
};
|