- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Wed, 23 Nov 2011 17:08:10 +0100
- To: "www-style@w3.org" <www-style@w3.org>
Implementing an editor for animations, I discover an API on keyframes is missing. If we have |findRule()| to find the keyframe rule corresponding to a given key, there is no API to retrieve the list of keys defined by a keyframes at-rule... And that's something editing tools will all do. I would recommend adding such a list; something like readonly attribute DOMStringList keyList; added to CSSKeyframesRule. It would contain an ordered list of unique keys, from 'from' (or 0%) to 'to' (or 100%) in increasing %age order. Thoughts? </Daniel>
Received on Wednesday, 23 November 2011 16:08:44 UTC