Hi Everyone, Goal: I'm looking into a future proposal that I made regarding animating to height/width auto (and in general to and from auto). The GitHub request can be found here: https://github.com/w3c/csswg-drafts/issues/626#issuecomment-265073790
Right now I'm focusing mainly on animation as that is what the request entails. It can further be extended so that auto gets calculated to any unit type value but that's out of the scope of my exploration. Current understanding: 1. StyleAnimationValue::Compute* are all the methods that pertain to animation of specific styles. These are calculated on load. 2. In these methods it's easy to find eUnit_Auto which currently is set to return false (meaning no computation occurred). What I can't seem to find is: 1. Where the actual computation for auto actually occurs to be able to provide the beginning and end coords the animation should take. 2. Where the interpolation for each frame between the specified keyframes is computed Next steps once answered: Wherever that interpolation is occurring, it should be as simple as calculating the before and after and applying the same interpolation as we already are for any other eUnit type. If anything in here sounds incorrect please feel free to correct me as I would be greatly appreciated! _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

