Re: [csswg-drafts] [css-fonts] @font-palette-values rule has no object model (#1655)

My last comment is exactly what you need to do.

> CSSOMRGBColor; that interface is long obsolete and should never be used for anything. Just drop it from the signature.

and

> use `[=CSS/parse=]` to parse it as a `<color>`, and if it returns failure, throw a `SyntaxError`.

rather than the existing vague "parsed as a solid color" wording. Plus it should throw on a parse error, not just return undefined and do nothing.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1655#issuecomment-442162299 using your GitHub account

Received on Tuesday, 27 November 2018 18:17:09 UTC