@@ -8488,10 +8488,10 @@ Object Model</h2>
84888488 idlharness.html
84898489 </wpt>
84908490
8491- <h3 id="om-fontface">
8492- The <code id="cssfontfacerule2"> CSSFontFaceRule</code> interface</h3>
8491+ <h3 id="om-fontface" interface lt="CSSFontFaceRule" >
8492+ The {{ CSSFontFaceRule}} interface</h3>
84938493
8494- The <dfn export id="cssfontfacerule-interface"> CSSFontFaceRule</dfn> interface represents a <<@font-face>> rule.
8494+ The {{ CSSFontFaceRule}} interface represents a <<@font-face>> rule.
84958495
84968496 <pre class="idl">
84978497 [Exposed=Window]
@@ -8533,18 +8533,20 @@ The <code id="cssfontfacerule2">CSSFontFaceRule</code> interface</h3>
85338533 };
85348534 </pre>
85358535
8536- <h3 id="om-fontfeaturevalues">
8537- The <code id="cssfontfeaturevaluesrule-interface"> CSSFontFeatureValuesRule</code> interface</h3>
8536+ <h3 id="om-fontfeaturevalues" interface lt=CSSFontFeatureValuesRule oldids="cssfontfeaturevaluesrule" >
8537+ The {{ CSSFontFeatureValuesRule}} interface</h3>
85388538
8539- <p> The <code> CSSRule</code> interface is extended as follows:</p>
8539+ The {{ CSSRule}} interface is extended as follows:
85408540
8541- <pre class='idl'> partial interface CSSRule {
8541+ <pre class='idl'>
8542+ partial interface CSSRule {
85428543 const unsigned short FONT_FEATURE_VALUES_RULE = 14;
8543- };</pre>
8544+ };
8545+ </pre>
85448546
8545- <p> The <dfn export id="cssfontfeaturevaluesrule-dfn"> CSSFontFeatureValuesRule</dfn> interface represents a <code> @font-feature-values</code> rule.</p>
8547+ The {{ CSSFontFeatureValuesRule}} interface represents a '' @font-feature-values'' rule.
85468548
8547- <pre class='idl'>
8549+ <xmp class='idl'>
85488550 [Exposed=Window]
85498551 interface CSSFontFeatureValuesRule : CSSRule {
85508552 attribute CSSOMString fontFamily;
@@ -8559,63 +8561,70 @@ The <code id="cssfontfeaturevaluesrule-interface">CSSFontFeatureValuesRule</code
85598561
85608562 [Exposed=Window]
85618563 interface CSSFontFeatureValuesMap {
8562- maplike< CSSOMString, sequence< unsigned long>> ;
8564+ maplike< CSSOMString, sequence< unsigned long> > ;
85638565 undefined set(CSSOMString featureValueName,
8564- (unsigned long or sequence< unsigned long> ) values);
8566+ (unsigned long or sequence< unsigned long> ) values);
85658567 };
8566- </pre>
8567-
8568- <dl class='idl-attributes'>
8569- <dt><var ignore> fontFamily</var> of type <code> CSSOMString</code>
8570- <dd> The list of one or more font families for which a given set of feature values is defined.</dd>
8571- <dt> value maps of type <code> CSSFontFeatureValuesMap</code> , readonly
8572- <dd> Maps of feature values associated with feature value names for a given 'font-variant-alternates' value type</dd>
8568+ </xmp>
8569+
8570+ <dl class='idl-attributes' dfn-type=attribute dfn-for=CSSFontFeatureValuesRule>
8571+ <dt> <dfn>fontFamily</dfn>
8572+ <dd> The list of one or more font families for which a given set of feature values is defined.
8573+ <dt> <dfn>annotation</dfn>
8574+ <dt><i> etc.</i>
8575+ <dd> Maps of feature values associated with feature value names for a given 'font-variant-alternates' value type
85738576 </dl>
85748577
8575- Each value map attribute of <code> CSSFontFeatureValuesRule</code> reflects the values
8576- defined via a corresponding <i title="feature_value_block"> feature value block</i> .
8577- Thus, the <var title="annotation attribute" ignore> annotation</var> attribute
8578- contains the values contained within a <code title="@annotation"> @annotation</code>
8579- <i title="feature_value_block"> feature value block</i> , the
8580- <var title="ornaments attribute" ignore> ornaments</var> attribute contains the
8581- values contained with a <code title="@ornaments"> @ornaments</code>
8582- <i title="feature_value_block"> feature value block</i> and so forth.
8583-
8584- The <code> CSSFontFeatureValuesMap</code> interface uses the
8578+ Each value map attribute of {{CSSFontFeatureValuesRule}} reflects the values
8579+ defined via a corresponding [=feature value block=] .
8580+ Thus, the {{CSSFontFeatureValuesRule/annotation}} attribute
8581+ contains the values contained within a ''@annotation''
8582+ [=feature value block=] , the
8583+ {{CSSFontFeatureValuesRule/ornaments}} attribute contains the
8584+ values contained with a ''@ornaments''
8585+ [=feature value block=] ,
8586+ and so forth.
8587+
8588+ The {{CSSFontFeatureValuesMap}} interface uses the
85858589 <a href="https://webidl.spec.whatwg.org/#js-maplike">default map class methods</a>
8586- but the <code> set</code> method has different behavior. It takes a sequence of unsigned integers and
8590+ but the {{CSSFontFeatureValuesMap/set()}} method has different behavior.
8591+ It takes a sequence of unsigned integers and
85878592 associates it with a given <code> featureValueName</code> . The method
85888593 behaves the same as the default map class method
85898594 except that a single unsigned long value is treated as a sequence of a
85908595 single value. The method throws an exception if an invalid number of
85918596 values is passed in. If the associated
8592- <i title="feature_value_block"> feature value block</i>
8593- only allows a limited number of values, the <code> set </code> method
8594- throws an <code> InvalidAccessError</code> exception when the input
8595- sequence to <code> set </code> contains more than the limited number of
8597+ [= feature value block=]
8598+ only allows a limited number of values, the {{CSSFontFeatureValuesMap/set()}} method
8599+ throws an {{ InvalidAccessError}} exception when the input
8600+ sequence to {{CSSFontFeatureValuesMap/set()}} contains more than the limited number of
85968601 values. See the
85978602 description of <a href="#multi-value-features">multi-valued feature value definitions</a>
85988603 for details on the maximum number of values allowed for a given type
8599- of <i title="feature_value_block"> feature value block</i> . The <code> get</code>
8604+ of [=feature value block=] .
8605+
8606+ Note: The <code highlight=js> get()</code>
86008607 method always returns a sequence of values, even if the sequence only contains
86018608 a single value.
86028609
86038610<wpt>
86048611 font-feature-values-map-live.html
86058612</wpt>
86068613
8607- <h3 id="om-fontpalettevalues">
8608- The <code id="cssfontpalettevaluesrule2">CSSFontPaletteValuesRule</code> interface</h3>
8614+ <h3 id="om-fontpalettevalues" interface lt="CSSFontPaletteValuesRule">
8615+ The {{CSSFontPaletteValuesRule}} interface</h3>
8616+
8617+ The {{CSSFontPaletteValuesRule}} interface represents a ''@font-palette-values'' rule.
86098618
86108619 <pre class='idl'> [Exposed=Window]
86118620 interface CSSFontPaletteValuesRule : CSSRule {
86128621 readonly attribute CSSOMString name;
86138622 readonly attribute CSSOMString fontFamily;
86148623 readonly attribute CSSOMString basePalette;
86158624 readonly attribute CSSOMString overrideColors;
8616- };</pre>
8625+ };
8626+ </pre>
86178627
8618- The <code> fontFamily</code> and <code> basePalette</code> interfaces are parsed according to the appropriate CSS property syntax.
86198628
86208629<!-- Big Text: serial
86218630
0 commit comments