CSSFontFeatureValuesRule.webidl (1138B)
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 * You can obtain one at http://mozilla.org/MPL/2.0/. 5 * 6 * The origin of this IDL file is 7 * https://drafts.csswg.org/css-fonts/#om-fontfeaturevalues 8 */ 9 10 // https://drafts.csswg.org/css-fonts/#om-fontfeaturevalues 11 // but we don't implement anything remotely resembling the spec. 12 [Exposed=Window] 13 interface CSSFontFeatureValuesRule : CSSRule { 14 [SetterThrows] 15 attribute UTF8String fontFamily; 16 17 // Not yet implemented 18 // readonly attribute CSSFontFeatureValuesMap annotation; 19 // readonly attribute CSSFontFeatureValuesMap ornaments; 20 // readonly attribute CSSFontFeatureValuesMap stylistic; 21 // readonly attribute CSSFontFeatureValuesMap swash; 22 // readonly attribute CSSFontFeatureValuesMap characterVariant; 23 // readonly attribute CSSFontFeatureValuesMap styleset; 24 }; 25 26 partial interface CSSFontFeatureValuesRule { 27 // Gecko addition? 28 [SetterThrows] 29 attribute UTF8String valueText; 30 };