color parsing from web manifest spec


Folks working on the web manifest spec are seeking guidance on how to correctly process a CSS Color value from outside the context of a stylesheet.

The Web Manifest spec defines members like:

  "theme_color": "aliceblue",
  "background_color": "rgb(200,2,23)",

To process those members, we'd like to send them into the CSS parsing/processing machinery and get back either a parsing error or possibly a value in a canonical form (e.g., in Gecko, we convert to these members to hex value to pass to the Android subsystem). We could use some guidance on the appropriate entry points and the kinds of normalization's we should do on those values, if any. 

Happy to discuss here or on GitHub:

Received on Thursday, 18 April 2019 05:07:15 UTC