We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580bd65 commit cc39297Copy full SHA for cc39297
src/common/color-element.js
@@ -158,7 +158,7 @@ const Self = class ColorElement extends NudeElement {
158
return Self.Color.get(color);
159
}
160
161
- if (!CSS.supports("color", value) || !element) {
+ if (!globalThis.CSS?.supports("color", value) || !element) {
162
// Not supported/invalid value, or no element to resolve the color value from
163
return null;
164
0 commit comments