Mikhus / canvas-gauges

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.

Home Page:http://canvas-gauges.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS warnings "Expected color but found ‘null’

AtaraHalamish opened this issue · comments

On FireFox [version 123.0.1 (64-bit)] console, there are many CSS warnings of "Expected color but found ‘null’."
e.g when opening the sample page
https://rawgit.com/Mikhus/canvas-gauges/master/examples/radial-component.html

Searching the web for this error, I founs a similar problem for ctx.strokeStyle & ctx.fillStyle
and their solution -
https://github.com/ecomfe/zrender/pull/784/files

image