Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions css-fonts-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3817,13 +3817,13 @@ The <code>CSSFontFeatureValuesRule</code> interface</h3>
readonly attribute CSSFontFeatureValuesMap swash;
readonly attribute CSSFontFeatureValuesMap characterVariant;
readonly attribute CSSFontFeatureValuesMap styleset;
}
};

[MapClass(CSSOMString, sequence&lt;unsigned long&gt;)]
interface CSSFontFeatureValuesMap {
maplike&lt;CSSOMString, sequence&lt;unsigned long&gt;&gt;;
void set(CSSOMString featureValueName,
(unsigned long or sequence&lt;unsigned long&gt;) values);
}</pre>
};</pre>

<dl class='idl-attributes'>
<dt><var>fontFamily</var> of type <code>CSSOMString</code>
Expand Down Expand Up @@ -3865,13 +3865,13 @@ The <code id="cssfontpalettevaluesrule2">CSSFontPaletteValuesRule</code> interfa
<pre class='idl'>partial interface CSSRule {

const unsigned short FONT_PALETTE_VALUES_RULE = 15;
}
};

interface CSSFontPaletteValuesRule : CSSRule {
maplike&lt;unsigned long, (CSSOMString or CSSOMRGBColor)>;
attribute CSSOMString fontFamily;
attribute CSSOMString basePalette;
}</pre>
};</pre>

If the value of the 'setlike' functions is a CSSOMString, it is parsed as a solid color (e.g. using the <code>rgb()</code> syntax). If it refers to anything other than a solid color, the call is ignored or returns <code>undefined</code>.

Expand Down