- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Wed, 04 May 2022 19:24:35 +0000
- To: public-css-archive@w3.org
Initial proposal based on discussion above: ``` text-decoration-trim: <length-percentage>{1,2} ``` * Specifies a shortening of the line decoration at the start/end of the decorating element. * On block containers, applies to both sides of each line. Percentages refer to the width of the containing block. * On inline elements, applies only to the start edge of the first inline box fragment and the end edge of the last inline box fragment. Percentage refer to the total length of the untrimmed line decoration. If the trimmed amount is more than the size of the relevant fragment, any excess trim is passed through to the next fragment. * Negative values are allowed, and extend the line decoration. * Skips are applied after trimming. Major open issue: if percentages are used to represent the length of the line, how do we represent its thickness? Other issue: Have inlines also apply this per-fragment instead of per-element? -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4557#issuecomment-1117735704 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 4 May 2022 19:24:37 UTC