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

The "old DOM 2 Style class" I was referring to was CSSOMRGBColor; that interface is long obsolete and should never be used for anything. Just drop it from the signature.

Then just define the error handling properly: use `[=CSS/parse=]` to parse it as a `<color>`, and if it returns failure, throw a `SyntaxError`.

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

Received on Thursday, 20 September 2018 20:36:53 UTC