CSSKeyframesRule::findRule() and deleteRule () only seem to work if you pass percentage values. It should also work if you pass 'from' and 'to'.
The spec also needs to be clarified here.
Created attachment 43656 [details]
Comment on attachment 43656 [details]
CSSOM APIs like getPropertyValue() are case-insensitive. Shouldn’t this also be case-insensitive?
Created attachment 43660 [details]
Comment on attachment 43660 [details]
> + if (key.lower() == "from")
I think the way this is typically done is using equalIgnoringCase, although I thought there was also a special function for when one of the strings is known to be all-lowercase, but I can’t find it right now.
r=me either way