2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2014-10-02 06:32:05 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://dev.w3.org/csswg/css-font-loading/#FontFaceSet-interface
|
|
|
|
*
|
|
|
|
* Copyright © 2014 W3C® (MIT, ERCIM, Keio, Beihang), All Rights Reserved. W3C
|
|
|
|
* liability, trademark and document use rules apply.
|
|
|
|
*/
|
|
|
|
|
2015-08-11 05:19:52 +03:00
|
|
|
dictionary FontFaceSetLoadEventInit : EventInit {
|
2014-10-02 06:32:05 +04:00
|
|
|
sequence<FontFace> fontfaces = [];
|
|
|
|
};
|
|
|
|
|
2019-09-27 18:26:14 +03:00
|
|
|
[Pref="layout.css.font-loading-api.enabled",
|
|
|
|
Exposed=Window]
|
2015-08-11 05:19:52 +03:00
|
|
|
interface FontFaceSetLoadEvent : Event {
|
2019-09-11 17:35:28 +03:00
|
|
|
constructor(DOMString type,
|
|
|
|
optional FontFaceSetLoadEventInit eventInitDict = {});
|
|
|
|
|
2016-12-23 03:50:01 +03:00
|
|
|
[Cached, Constant, Frozen] readonly attribute sequence<FontFace> fontfaces;
|
2014-10-02 06:32:05 +04:00
|
|
|
};
|