Re: [csswg-drafts] [css-color-5] [cssom-1] Exposure of @color-profile in CSSOM (#7151)

It should, although [the way we do it for `@font-face`](https://drafts.csswg.org/css-fonts-4/#om-fontface) doesn't seem like a good model. Maybe something like:

 **The CSSColorProfileRule interface**

[[Exposed](https://webidl.spec.whatwg.org/#Exposed)=Window]interface CSSColorProfile : [CSSRule](https://drafts.csswg.org/cssom-1/#cssrule) {
  readonly attribute [CSSOMString](https://drafts.csswg.org/cssom-1/#cssomstring) name ;
  readonly attribute [CSSOMString](https://drafts.csswg.org/cssom-1/#cssomstring) src ;
  readonly attribute [CSSOMString](https://drafts.csswg.org/cssom-1/#cssomstring) rendering-intent ;
  readonly attribute [CSSOMString](https://drafts.csswg.org/cssom-1/#cssomstring) components ;
};

although components would be better as a list?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 20 May 2022 20:07:15 UTC