W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 May 2020 20:02:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-631050968-1589918534-sysbot+gh@w3.org>
@SetTrend Interpolations work on the computed value. If you interpolate from `auto` to `auto` then it won't be smooth. This already happens if you have `height: 100%; transition: height 1s` and you change the height of the containing block. Then the used value of `height: 100%` changes, but it's a sudden change since both the `100%` starting point and the `100%` end point are updated.

GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/626#issuecomment-631050968 using your GitHub account
Received on Tuesday, 19 May 2020 20:02:18 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:06 UTC