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

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.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Friday, 1 April 2011 20:37:21 UTC