why not just use `css_defaultDisplay` here? Also, perhaps instead we can show the hidden element first to see if it's inline rather than assume it's inline if the default for the tag is inline?