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

> I get the impression that the [integer enumerations are deprecated](https://www.w3.org/TR/cssom/#dom-cssrule-type) and so we are not adding new ones. Is that correct or should I add this as 16?

Yes, deprecated. Don't add more. (It'll be `0` if you don't say anything special, from the superclass.)

> Does rule.constructor.name get the name from this interface or do I add it somewhere else and if so, where.

It's automatic - the constructor function (which automatically exists) has a name matching the class itself, and that property is automatically set to match.

-------

Overall the IDL looks fine to me.

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


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

Received on Friday, 20 January 2023 19:33:04 UTC