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

[css3-animations] calc() in keyframe selectors?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 23 Apr 2012 14:39:42 -0700
Message-ID: <CAAWBYDDrX5u8CrK0vWfiv+oadkrLR1UnTNQ6qSoGGLkSg56jJA@mail.gmail.com>
To: www-style list <www-style@w3.org>
Kenny Lu raised an issue against V&U about specifying precisely where
calc() and other functions can be used.  One of the particular
questions he had was whether calc() was allowed in a keyframe

The definition of the syntax of @keyframes isn't clear whether it
specifically wants a PERCENTAGE token or just a <percentage> type

I'd be okay if it wasn't allowed, but it's potentially useful, for the
same reason declaring percentage widths with calc() is useful - saying
"calc(100% / 7)" is clearer than "14.28%".

Received on Monday, 23 April 2012 21:40:30 UTC

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