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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 23 Apr 2012 13:07:29 -0700
Message-ID: <CAAWBYDDvxJmRunEux-CE8qHhh8K9XN4msrbJYDaXpp-RogjPBA@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: WWW Style <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT