@@ -433,10 +433,12 @@ Discovery of information about a font</h3>
433
433
A {{FontFace}} object includes a variety of read-only information about the contents of the font file.
434
434
435
435
<xmp class="idl">
436
+ [Exposed=(Window,Worker)]
436
437
interface FontFaceFeatures {
437
438
/* The CSSWG is still discussing what goes in here */
438
439
};
439
440
441
+ [Exposed=(Window,Worker)]
440
442
interface FontFaceVariationAxis {
441
443
readonly attribute DOMString name;
442
444
readonly attribute DOMString axisTag;
@@ -445,18 +447,21 @@ Discovery of information about a font</h3>
445
447
readonly attribute double defaultValue;
446
448
};
447
449
450
+ [Exposed=(Window,Worker)]
448
451
interface FontFaceVariations {
449
452
readonly setlike<FontFaceVariationAxis>;
450
453
};
451
454
455
+ [Exposed=(Window,Worker)]
452
456
interface FontFacePalette {
453
457
iterable<DOMString>;
454
458
readonly attribute unsigned long length;
455
459
getter DOMString (unsigned long index);
456
- readonly attribute bool usableWithLightBackground;
457
- readonly attribute bool usableWithDarkBackground;
460
+ readonly attribute boolean usableWithLightBackground;
461
+ readonly attribute boolean usableWithDarkBackground;
458
462
};
459
463
464
+ [Exposed=(Window,Worker)]
460
465
interface FontFacePalettes {
461
466
iterable<FontFacePalette>;
462
467
readonly attribute unsigned long length;
0 commit comments