Re: [css3-values] use cases and the design of 'cycle()'

Heya Kenny!

Below are our responses to the issues you raised in this thread.

Issue 13: cycle() can't skip levels, or easily refer to non-inherited properties
Issue 14: Example UA stylesheet using cycle() for <ul> is incorrect.
Issue 15: Value equality of components of cycle() ill-defined
Closed as OutOfScope pending WG resolution - we proposed punting
cycle() to level 4 so we can address these and other issues with the
design of the spec properly.

In particular, we currently expect something like the following in
level 4: the current functionality of cycle() is renamed to toggle(),
with the value equality better defined, or perhaps with the values
restricted so as to make equality easier; a new cycle() function which
operates like I describe in this thread (take an ident, and look for
ancestors using the same ident to select your index into your value
list), which solves your issue 13 and 14.

Please let us know if these are acceptable!

~TJ

Received on Monday, 23 April 2012 20:08:18 UTC