Re: [csswg-drafts] [css-animations-1] Font-relative units in keyframes (#3751)

So this is basically a dupe of #66 (which, if you follow far enough, will take you to [this mail from dbaron](https://lists.w3.org/Archives/Public/www-style/2014Aug/0132.html))

I wrote a test case with a few variations on the test case from the first comment: https://codepen.io/birtles/pen/drQQaJ.

Blink seems to mostly do G-β but has trouble with overlapping keyframes and, as Emilio points out,  reflecting the animated font-size on static declarations.

Edge doesn't seem to recognize `animation-timing-function` on keyframes when there are overlapping keyframes. I didn't test Emilio's example on Edge.

I _thought_ we fixed some of these issues in Firefox when we switched to Servo, but I guess not. I believe we might have deferred the ordering dependency introduced by `font-size` until we implement animation of custom properties since they introduce further ordering dependencies between properties.

So I think we already have a resolution to do G-β, it just needs to be implemented in Firefox, tested (the WPT for this spec need rewriting first) and specced. Unfortunately this behavior does mean that some animations can no longer effectively be run on the compositor.

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

Received on Friday, 22 March 2019 01:07:46 UTC