[csswg-drafts] [css-inline-3] line-height and content height of inline box (#3820)

prjnt has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] line-height and content height of inline box ==
css-inline-3 §2.4 (#valdef-line-sizing-normal) says:

> Half-leading is inserted inside the content box edges

and

> Negative half-leading is applied to all inline boxes,- reducing the size of the content box as needed

which I would take to mean that half-leading (and hence 'line-height') affects the content height of the inline box, but it does not actually specify what the content height is.  Furthermore, §3.1 does specify the content height, but none of its definitions are affected by line-height.  Furthermore, note that only negative half-leading is involved here, and it seems strange to specify that a reduced line-height should cause borders to overlap the ascenders and/or descenders of the text (at least in absence of padding).

I suggest (i) removing the quoted parts that suggest that 'line-height' affects content height; and (ii) that either the contribution of an inline box to the line-box height is determined solely by *one* of margin-box height and line-height (or conceivably the minimum of the two); or that some other property is involved in deciding the contribution (whether 'line-sizing', 'line-box-contain' or other).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3820 using your GitHub account

Received on Wednesday, 10 April 2019 23:31:17 UTC