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

It has been suggested that we use `max-height: max-content`.

But trying to get the browsers to implement either has been very 
difficult, as the CSS animations are typically done between 2 known 
values, which is why animation usually needs to be done with something
 like `max-height: 500em`.

As an aside (and for some of the background on this), I've been trying
 to get browsers to support auto-height `<iframes>` and `<textarea>`s,
 which will work in pretty much the same way:

https://github.com/craigfrancis/iframe-height

https://discourse.wicg.io/t/feature-request-animating-max-height-height-based-on-content/1403

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

Received on Tuesday, 13 December 2016 12:00:47 UTC