Google’s Matt Cutts: You Can Hide Content Only When…

In one of Google’s Matt Cutts recent videos, Matt answered the questions of it is okay to use those expandable web techniques to expand and collapse content. It is okay to use those techniques or is it considered hidden text and against Google’s Webmaster Guidelines.