Re: [csswg-drafts] [css-transitions] Transition to height (or width) "auto" (#626)

@danegraphics No, `auto` computes as specified, not as a length (https://www.w3.org/TR/css-sizing-3/#preferred-size-properties). Resolving it as a length needs layout, at computed-value time it's too early.

@eoghanmurray Yes, if the final height is 200px, it should remain as the final value. It's just that the starting point now resolves to 50px, and we are half-way, so the current value should suddenly change from 100px to 125px. Then the transition should continue from 125px to 200px. See https://software.hixie.ch/utilities/js/live-dom-viewer/saved/10080 which uses percentages, imagine that `height: 100%` is `height: auto`, and that instead of changing size of the container I'm changing the contents.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 28 February 2022 13:59:22 UTC