John,

>Currently, the only tricky case is if an element has a display: none
>set on page load - we have no way to determine what that element's
>'show' should be. And yes, if we implemented this, we would absolutely
>cache the result.
>
>Right now, if an element is visible (even if it's a div with a
>display:inline) and you hide it, then show it again - it'll go back to
>an inline state again (as you would expect).

Why not assume the default behavior for the element? (i.e. a, span, etc
elements are inline; div, p, etc are block elements.)

You might have an occasional situation where someone wants a span to be a
block element, but going back to the expect display type would solve most
issues.

-Dan 


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to