How Does Google Treat Hidden Content Which Becomes Visible When Clicking A Button?

Matt Cutts answers the question: "How does Google treat hidden content which becomes visible when clicking a button? Does it look spammy if most of the text is in such a section? (e.g. simple page to buy something and "show details" button which reveals a lot of information about it.)"