-
This issue came up when designing the Color API: WICG/color-api#33 The We were wondering about also exposing these color spaces as static properties on Is there any precedent in the web platform that we could look at? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
If you already have |
Beta Was this translation helpful? Give feedback.
-
Based on https://source.chromium.org/search?q=file:%5C.idl%20%22static%20readonly%20attribute%22&ss=chromium I'm not aware of any precedent for this on the web platform, or at least the parts of the web platform currently implemented in Chromium. I don't envy whoever has to figure out how https://w3ctag.github.io/design-principles/#casing-rules applies to these, especially things like |
Beta Was this translation helpful? Give feedback.
Based on https://source.chromium.org/search?q=file:%5C.idl%20%22static%20readonly%20attribute%22&ss=chromium I'm not aware of any precedent for this on the web platform, or at least the parts of the web platform currently implemented in Chromium.
I don't envy whoever has to figure out how https://w3ctag.github.io/design-principles/#casing-rules applies to these, especially things like
xyz-d65
ora98rgb
:).