[css-overflow-3] Scrollable Overflow contributions of zero height/width elements · Issue #4791 · w3c/csswg-drafts (original) (raw)
It appears that, at least in some implementations, zero-width elements do not contribute to the horizontal overflow, but zero-height elements do contribute to the vertical overflow.
So overall it seems that zero-sized things contribute in the block axis but not the inline axis.
This is kinda weird, but if it's required for Web-compat we should spec it.