Skip to content

Commit 9224c29

Browse files
committed
[css-fonts-4] correct CSSFontPaletteValuesRule interface, w3c#1655
1 parent c3c52de commit 9224c29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4919,12 +4919,12 @@ The <code id="cssfontpalettevaluesrule2">CSSFontPaletteValuesRule</code> interfa
49194919
};
49204920

49214921
interface CSSFontPaletteValuesRule : CSSRule {
4922-
maplike&lt;unsigned long, (CSSOMString or CSSOMRGBColor)>;
4922+
maplike&lt;unsigned long, CSSOMString>;
49234923
attribute CSSOMString fontFamily;
49244924
attribute CSSOMString basePalette;
49254925
};</pre>
49264926

4927-
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>.
4927+
The value of the 'maplike' function [=CSS/parses=] as a <<color>>.
49284928

49294929
The <code>fontFamily</code> and <code>basePalette</code> interfaces are parsed according to the appropriate CSS property syntax.
49304930

0 commit comments

Comments
 (0)