There is a well-known front-end pattern which is to have hidden elements in DOM and make them visible when necessary. As with any good pattern, it can be compromised by wrong implementation. Most times, hidden means that the DOM element gets a property. This approach has become even more widespread thanks to and jQuery helpers.
Whenever you need to hide a visible block you use the helper which in charge of assigning an inline style property, making the block invisible. When it has to become visible again, the helper changes the inline CSS property.
I believe this is a very nice example…