Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
20
third-party/vendor/web-sys/webidls/unstable/LocalFontAccess.webidl
vendored
Normal file
20
third-party/vendor/web-sys/webidls/unstable/LocalFontAccess.webidl
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[SecureContext]
|
||||
partial interface Window {
|
||||
[Throws]
|
||||
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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue