- From: Nigel Megitt via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Jul 2020 13:33:16 +0000
- To: public-css-archive@w3.org
> Is there any interest in creating a similar property for adjusting the size of inline boxes in the _inline_ direction? E.g., to make inline boxes at the end of the line stretch to fill the entire line width (without needing to justify the text itself, just extending the backgrounds/borders to fill the available inline size). > > If such a thing were to be added in the future, then names like `line-stretch`, `line-fill`, and `line-fit` (and especially `inline-stretch`, `inline-fill`, and `inline-fit`) would all more naturally describe stretching in that direction, as opposed to stretching in the cross direction. @AmeliaBR There is something related: see https://drafts.csswg.org/css-text-4/#line-padding-property - it is not exactly what you had in mind (as currently specified), but it is about extending the background area in the inline direction. One difference is that using it _reduces_ the space available for layout (in a predictable way so no loops need to happen), whereas for the background height adjustment, the layout is unchanged. I'm not sure if that means we have to consider them distinctly, but the idea of a single property that affects the background painting in both axes is certainly appealing to me. -- GitHub Notification of comment by nigelmegitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5189#issuecomment-662455750 using your GitHub account
Received on Wednesday, 22 July 2020 13:33:18 UTC