This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25034 - [om] Clarify CSSKeyframesRule.deleteRule() effect when multiple rules use the same key
Summary: [om] Clarify CSSKeyframesRule.deleteRule() effect when multiple rules use the...
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: Animations (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Sylvain Galineau
QA Contact: public-css-bugzilla
URL: http://lists.w3.org/Archives/Public/w...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-12 23:34 UTC by Sylvain Galineau
Modified: 2014-10-22 22:27 UTC (History)
3 users (show)

See Also:


Attachments

Description Sylvain Galineau 2014-03-12 23:34:59 UTC
The spec says about CSSKeyframesRule.deleteRule():

   ...deletes the CSSKeyframeRule with the passed key.

But the spec explicitely allows multiple keyframe rules for same key,
saying that in that case the last one specified wins.

Then I assume only the last one specified for a given key is preserved
in the OM.

This should be clarified.
Comment 1 Sylvain Galineau 2014-03-21 00:19:21 UTC
Likewise, which rule is returned by findRule()?
Comment 2 Sylvain Galineau 2014-10-22 22:27:19 UTC
WG resolution, 2014-10-22: we describe current implementation behavior i.e. both methods apply to the last rule specified with the key passed to them.