Hi
When toggling an element on and off by setting its display property via
DOM access, display:none is valid for all kinds of elements, but I can't
find anything about a generic value for toggling on again.
Furthermore, UAs do not recognize the same values. To make a table row
visible, IE wants display:block while FF wants display:table-row.
Am I missing something? I am looking for something like display:normal
or display:ua-default or whatever, that gets the element rendered how
the UA renders it if no display property is set.
I am actually surprised I don't find anything about this problem, anyway
googling for it is not as easy, as "display" and "normal" are very
common words.
Thanks for comments on this issue!
Markus
When toggling an element on and off by setting its display property via
DOM access, display:none is valid for all kinds of elements, but I can't
find anything about a generic value for toggling on again.
Furthermore, UAs do not recognize the same values. To make a table row
visible, IE wants display:block while FF wants display:table-row.
Am I missing something? I am looking for something like display:normal
or display:ua-default or whatever, that gets the element rendered how
the UA renders it if no display property is set.
I am actually surprised I don't find anything about this problem, anyway
googling for it is not as easy, as "display" and "normal" are very
common words.
Thanks for comments on this issue!
Markus
Comment