Created attachment 434674 [details] [Image] Bug This is likely a recent regression.
<rdar://problem/81638278>
I bisected and it showed r271348. Which is interesting - it's a change in WebCore, not Web Inspector. > "The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes > or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge." > https://www.w3.org/TR/CSS22/visudet.html#leading
Created attachment 435400 [details] Patch Irregardless of the WebCore change that caused the regression, a less error-prone way to fix this is simply to set "overflow: hidden".
Created attachment 435401 [details] [Image] With patch applied No scrollbar with the patch applied.
Comment on attachment 435400 [details] Patch rs=me
Committed r280974 (240478@main): <https://commits.webkit.org/240478@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435400 [details].