W3C home > Mailing lists > Public > www-style@w3.org > June 2013

[css-variables] Remaining Issues

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 10 Jun 2013 18:54:46 -0700
Message-ID: <CAAWBYDBgXtYEztmKB5d7yX5iYSKu0cJu5VXDnY5zqM9TVCNt7w@mail.gmail.com>
To: www-style list <www-style@w3.org>
There are three remaining issues on the Variables spec.

1. Animation behavior.  Should custom properties animate/transition
like normal properties (always being unrecognized, so they flip at 50%
progress), or not?  Fran├žois pointed out that allowing them to be
animated can produce dependency loops in animations, where the
animation property itself uses a variable which it animates over.  I'm
thinking we should disallow animation/transition of custom properties
- they don't transition at all, and they're ignored in @keyframes
rules.

2. How should the global keyword initial/inherit/default be treated?
Are these more of a language-syntax feature, such that they should be
obeyed when specified in custom properties, or are they more like
normal values, such that they become the variable's value?  It seems
like there may be use-cases for either.

3. How does 'all' interact with custom properties?  Are they all reset
as well?  If #2 is decided in favor of treating the keywords as normal
variables values, how does that interact with this?

~TJ
Received on Tuesday, 11 June 2013 01:55:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC