W3C home > Mailing lists > Public > www-style@w3.org > April 2019

color parsing from web manifest spec

From: Marcos Caceres <marcos@marcosc.com>
Date: Thu, 18 Apr 2019 15:06:49 +1000
Message-Id: <D29EBF1C-E695-466D-B05C-2CE1920D1C1D@marcosc.com>
To: www-style <www-style@w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:53:13 UTC