mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'
This commit is contained in:
parent
4401622eb1
commit
b77ad115f6
16832 changed files with 270819 additions and 87621 deletions
|
@ -44,6 +44,47 @@ interface FontFace {
|
|||
readonly attribute Promise<FontFace> loaded;
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FontFaceFeatures {
|
||||
/* The CSSWG is still discussing what goes in here */
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FontFaceVariationAxis {
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute DOMString axisTag;
|
||||
readonly attribute double minimumValue;
|
||||
readonly attribute double maximumValue;
|
||||
readonly attribute double defaultValue;
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FontFaceVariations {
|
||||
readonly setlike<FontFaceVariationAxis>;
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FontFacePalette {
|
||||
iterable<DOMString>;
|
||||
readonly attribute unsigned long length;
|
||||
getter DOMString (unsigned long index);
|
||||
readonly attribute boolean usableWithLightBackground;
|
||||
readonly attribute boolean usableWithDarkBackground;
|
||||
};
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FontFacePalettes {
|
||||
iterable<FontFacePalette>;
|
||||
readonly attribute unsigned long length;
|
||||
getter FontFacePalette (unsigned long index);
|
||||
};
|
||||
|
||||
partial interface FontFace {
|
||||
readonly attribute FontFaceFeatures features;
|
||||
readonly attribute FontFaceVariations variations;
|
||||
readonly attribute FontFacePalettes palettes;
|
||||
};
|
||||
|
||||
dictionary FontFaceSetLoadEventInit : EventInit {
|
||||
sequence<FontFace> fontfaces = [];
|
||||
};
|
||||
|
@ -60,7 +101,6 @@ enum FontFaceSetLoadStatus { "loading", "loaded" };
|
|||
interface FontFaceSet : EventTarget {
|
||||
constructor(sequence<FontFace> initialFaces);
|
||||
|
||||
// FontFaceSet is Set-like!
|
||||
setlike<FontFace>;
|
||||
FontFaceSet add(FontFace font);
|
||||
boolean delete(FontFace font);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue