W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-color-4] Make system color keywords compute to themselves (#3847)

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Wed, 30 Oct 2019 20:49:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-548106287-1572468555-sysbot+gh@w3.org>
What I meant to say in https://github.com/w3c/csswg-drafts/issues/3847#issuecomment-547733275 is that Firefox's approach is not scalable to more keywords. It was done under the assumption that only `currentcolor` would behave that way. It's not touching serialization / Typed OM, but about the fact that animating multiple stuff which can change during animation could be challenging.

But I might be wrong because most complexity of animating `currentcolor` comes from the fact that `color` itself can animate as well, so there might be some smart way to handle all the system color keywords which can only discretely switch (AFAIU) without adding too much complexity to implementation, but I'm not sure.

Serialization / Typed OM is indeed something we need to consider, but I don't think that has or would introduce inherent complexity as far as we allow only linear combination of colors and keywords. But animation may have such complexity by itself.

GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3847#issuecomment-548106287 using your GitHub account
Received on Wednesday, 30 October 2019 20:49:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:55 UTC