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

Re: [css3-animations] CSSKeyframesRule.deleteRule and findRule and comma-separated keys?

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 1 Apr 2011 13:36:51 -0700
To: www-style@w3.org
Message-ID: <20110401203651.GA19837@pickering.dbaron.org>
On Friday 2011-04-01 13:30 -0700, L. David Baron wrote:
> http://dev.w3.org/csswg/css3-animations/#DOM-CSSKeyframesRule isn't
> clear about whether deleteRule and findRule take only a single key
> (a percentage value, or to or from) or a comma-separated list of
> keys?
> If they take a single key, do they find / delete the rule that
> matches that key, even if the rule's key selector also has other
> keys?
> If they take multiple keys, do they require an match on the whole
> key list?  (It looks like this is what WebKit does.)

And the spec should also specify whether it's first-match or
last-match.  It looks like WebKit does first-match, but I think
last-match makes more sense.


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Friday, 1 April 2011 20:37:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:44 UTC