---
title: "Comment by Matteo Fogli on \"Transition to `height: auto` & `display: none` Using Pure CSS\" | Hashnode"
description: "as of september 2nd, Chrome (v130) is missing proper support for the at-support rule tests of the calc-size() function, meaning this code will not work @support"
url: "https://hashnode.com/posts/transition-to-height-auto-display-none-using-pure-css/66b52b6964b7931f978d1abb/comment/66d5b86537bf8775ae7a1469"
---

[Discussion](https://hashnode.com/posts/transition-to-height-auto-display-none-using-pure-css/66b52b6964b7931f978d1abb)

Comment [Transition to \`height: auto\` & \`display: none\` Using Pure CSS](https://hashnode.com/posts/transition-to-height-auto-display-none-using-pure-css/66b52b6964b7931f978d1abb)

[Matteo Fogli](https://hashnode.com/@pecus)

[Sep 2, 2024](https://hashnode.com/posts/transition-to-height-auto-display-none-using-pure-css/66b52b6964b7931f978d1abb/comment/66d5b86537bf8775ae7a1469)

as of september 2nd, Chrome (v130) is missing proper support for the at-support rule tests of the `calc-size()` function, meaning this code will _not_ work

```
@supports (height: calc-size(auto)) {
/* ... */
}
```

This seems to be tracked in chromium bug #358461053

[Zoran Jambor](https://hashnode.com/@zoranjambor)

[Sep 12, 2024](https://hashnode.com/posts/transition-to-height-auto-display-none-using-pure-css/66b52b6964b7931f978d1abb/comment/66d5b86537bf8775ae7a1469#reply-66e2b7d8258ed72e1f163ed9)

Thanks so much for the heads-up, Matteo. 🙏

It seems that the implementation of calc-size() has changed and it now only supports two-argument form. So this at-supports rule works correctly: `calc-size(auto)` no longer works.

I'm updating the article now to reflect this change. All `calc-size(auto)` examples must now be `calc-size(auto, size)`.
