Re: [csswg-drafts] [web-animations-1] Potential misuse of WebIDL spec

Perhaps we should have used the following syntax for the Keyframe dictionary:

dictionary Keyframe {
    double?              offset = null;
    DOMString            easing = "linear";
    CompositeOperation?  composite = null;
    record<DOMString, DOMString> properties;
};

But that ship has long sailed by now; animate() is used on like 4% of the web and we would likely never be able to deprecate the Keyframe syntax. (https://www.chromestatus.com/metrics/feature/timeline/popularity/773)

-- 
GitHub Notification of comment by stephenmcgruer
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2521#issuecomment-379760496 using your GitHub account

Received on Monday, 9 April 2018 13:55:21 UTC