mirror of
https://github.com/servo/servo.git
synced 2025-06-26 18:14:34 +01:00
24 lines
728 B
HTML
24 lines
728 B
HTML
<!DOCTYPE html>
|
|
<title>Font Loading API IDL tests</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-font-loading/#fontfacesetloadevent">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/resources/WebIDLParser.js"></script>
|
|
<script src="/resources/idlharness.js"></script>
|
|
<script>
|
|
'use strict';
|
|
|
|
idl_test(
|
|
['css-font-loading'],
|
|
['dom', 'html', 'cssom'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
Document: ['document'],
|
|
FontFace: ['new FontFace("family", "src")'],
|
|
FontFaceSetLoadEvent: ['new FontFaceSetLoadEvent("type")'],
|
|
FontFaceSet: ['document.fonts'],
|
|
});
|
|
},
|
|
'css-font-loading interfaces'
|
|
);
|
|
</script>
|