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

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

From: L. David Baron <dbaron@dbaron.org>
Date: Mon, 9 Apr 2012 14:28:54 -0700
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, WWW Style <www-style@w3.org>
Message-ID: <20120409212854.GA20762@crum.dbaron.org>
On Tuesday 2012-04-10 04:14 +0800, Kang-Hao (Kenny) Lu wrote:
> But anyway, I think this is far from obvious, and this is because "use
> x, and then y, and then z...(repeat)" and "use x if the parent is y..."
> require very different thinking. The current definition is mainly
> designed for the latter as far as I can tell.

Yes, and that's very important for the use case:

  em { font-style: cycle(italic, normal); }

(I hope to have a chance to look at this thread more in depth later,
although I might not have a chance for a few weeks.)


𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Monday, 9 April 2012 21:29:31 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:13 UTC