Automattic/node-canvas

Support for color values with percentage representation ?

Open

#1.391 geöffnet am 22. März 2019

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.140 Forks)batch import
FeatureHelp wanted

Repository-Metriken

Stars
 (9.524 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 34T 18h) (2 gemergte PRs in 30 T)

Beschreibung

Issue or Feature

The current implementation looks like ignoring color value with percentage representations rgba(100%,100%,100%,1.0). It is valid css color value according to this document. Is there any plan for supporting this or am I overlooking something ?

A library I am using outputs with this format and I am stuck here :S

Your Environment

  • Version of node-canvas (output of npm list canvas or yarn list canvas): canvas@2.4.1
  • Environment (e.g. node 4.2.0 on Mac OS X 10.8): Mac OS X 10.4.3

Contributor Guide