- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 Dec 2024 13:20:01 +0000
- To: public-css-archive@w3.org
This is not a specification issue. The padding is on the inline element, but that does not contribute to the height of the line box, which determines is the height of the anonymous box. This is described in 10.6.1 of CSS 2.1 > The vertical padding, border and margin of an inline, non-replaced box start at the top and bottom of the content area, and has nothing to do with the ['line-height'](https://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#propdef-line-height). But only the ['line-height'](https://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#propdef-line-height) is used when calculating the height of the line box. and in css inline 3 > Additionally, when [line-fit-edge](https://www.w3.org/TR/css-inline-3/#propdef-line-fit-edge) is not [leading](https://www.w3.org/TR/css-inline-3/#valdef-line-fit-edge-leading), the [layout bounds](https://www.w3.org/TR/css-inline-3/#layout-bounds) are inflated by the sum of the [margin](https://www.w3.org/TR/css-box-4/#margin), [border](https://www.w3.org/TR/css-box-4/#border), and [padding](https://www.w3.org/TR/css-box-4/#padding) on each side. In order to allow negative margin values to have an actual effect, negative margins are also accumulated onto the layout bounds of any descendant [inline boxes](https://www.w3.org/TR/css-display-3/#inline-box) participating in the same [inline formatting context](https://www.w3.org/TR/css-inline-3/#inline-formatting-context). With respect, you have filed quite a few specification issues here and every time you do quite a few hundred people are notified. This is not spec issue, it is simply a misunderstandings of how CSS layout works. For those sort of answers you might be better off on stackoverflow. -- GitHub Notification of comment by faceless2 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11324#issuecomment-2517328760 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 December 2024 13:20:02 UTC