W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css-color] Exposing browser color parsing to JS

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Tue, 08 Jul 2014 04:58:54 +0400
To: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-Id: <5892971404781134@web17m.yandex.ru>
08.07.2014, 03:31, "Tab Atkins Jr." <jackalmage@gmail.com>:
> Given that most/all of this machinery already exists in the browser,
> it's kinda sad that people have to keep reinventing it. šWhat would
> y'all think about introducing a bit of a helper for this kind of
> thing, that exposes all of the parsing and serialization the browser
> does, and is easily extensible so authors can use it as the basis for
> their own color-using code?

Definitely a right idea.

It would also be nice to have native APIs to parse CSS declarations, rules, and entire stylesheets for the same reason.
Received on Tuesday, 8 July 2014 00:59:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 8 July 2014 00:59:25 UTC