The auto option that several CSS attributes give is really useful. However, there doesn't seem to be one for the display attribute. I would expect this to set the display attribute to the browser default depending on the tag; e.g., a <div> would reset to display: block;, but a <span> would reset to display: inline;.
- Is there a
display: autoequivalent I've missed? - If not, why not?
- What's the most elegant workaround?