css-fonts.idl (1267B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/) 5 6 partial interface CSSRule { 7 const unsigned short FONT_FEATURE_VALUES_RULE = 14; 8 }; 9 [Exposed=Window] 10 interface CSSFontFeatureValuesRule : CSSRule { 11 attribute CSSOMString fontFamily; 12 readonly attribute CSSFontFeatureValuesMap annotation; 13 readonly attribute CSSFontFeatureValuesMap ornaments; 14 readonly attribute CSSFontFeatureValuesMap stylistic; 15 readonly attribute CSSFontFeatureValuesMap swash; 16 readonly attribute CSSFontFeatureValuesMap characterVariant; 17 readonly attribute CSSFontFeatureValuesMap styleset; 18 readonly attribute CSSFontFeatureValuesMap historicalForms; 19 }; 20 21 [Exposed=Window] 22 interface CSSFontFeatureValuesMap { 23 maplike<CSSOMString, sequence<unsigned long>>; 24 undefined set(CSSOMString featureValueName, 25 (unsigned long or sequence<unsigned long>) values); 26 }; 27 28 [Exposed=Window] 29 interface CSSFontPaletteValuesRule : CSSRule { 30 readonly attribute CSSOMString name; 31 readonly attribute CSSOMString fontFamily; 32 readonly attribute CSSOMString basePalette; 33 readonly attribute CSSOMString overrideColors; 34 };