Re: [csswg-drafts] [css-inline-3] line-height < 1 in a margin-box line layout model (#5178)

I don't think we should mess with the content boxes; we can just define the layout bounds (which are set to the margin box) to be reduced by the necessary amount of (negative) leading.

This means that the painting of the inline element won't be affected, but I think that's the right call. In all other situations, changing line-height has no effect on the background/borders/etc of inlines, so it shouldn't here either (which is what would happen if we applied the negative leading directly to the content box).

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5178#issuecomment-644400496 using your GitHub account

Received on Monday, 15 June 2020 21:29:23 UTC