Re: [csswg-drafts] [css-transforms-2] Serialization of individual transform when the animation is at 0% and 100%

This relates to the issue of when it's acceptable for a UA to recognize that no interpolation is necessary and use one of the endpoints as-is (e.g. if there is a step timing function and you are on the first/last step etc.).

I believe this came up in the context of the `cross-fade()` function. I believe in that situation I was encouraging us to define output of `cross-fade()` so that it always produces the most simplified form. That way a UA can use an endpoint as-is without it being observable.

I wrote a test case demonstrating where browsers differ on this but now I can't find the issue where that came up so it might not have been `cross-fade()` after all.

Regarding the serialization in this issue, I think it relates in part to whether or not we can get Blink to stop treating `translate: x y 1` as a 3D transform (and hence triggering layerization) or not. If we can do that, it might make sense to define `translate: 1 1 1` as serializing as `none`, I'm not sure.

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

Received on Sunday, 11 November 2018 23:24:23 UTC