You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...for legacy reasons, if an inline-block is a scroll container or contains no in-flow line boxes, its first and last baseline sets are synthesized from its margin box.
It appears we need to broaden the first part of that condition.
Right now, the special case specifically covers scenarios where the inline-blockis a scroll container. But it doesn't cover the case where the inline-blockcontains a scroll container (and nothing else). Browsers render that scenario the same way, but the spec doesn't say they should, AFAICT.
i.e. Browsers render these two divs the same (using their margin-bottom edge for baseline alignment):