ded/bonzo — Issue #47: More intelligent hide/show/toggle
Author: rvagg
Created: 2011-11-09 12:40:25+00:00
State: open

`show()` uses `display=''` with possible override `type`
`toggle()` uses `display='block'` with no possible override

they should determine most appropriate display value for the particular element either from existing style information or perhaps by creating virgin elements and testing them and caching the values for each element type.

`hide()` should probably save the old display value so that can be restored by `show()`.