- From: Stephen Chenney via GitHub <noreply@w3.org>
- Date: Tue, 10 Jun 2025 14:21:52 +0000
- To: public-css-archive@w3.org
I'm confused when you say that `overline` will meet your use case because `overline` also draws behind text. Only `line-through` draws over text. I would expect the `line-through` to grow out from the center as the width increases. But then `line-through` will not slide a box from top to bottom or bottom to top which seems to be your use case. So I guess you do in fact need an offset parameter for the other line types. Personally I agree that having the offset only for underline, and having it as a distinct property not available in the shorthand, are both oddities that I presume come from compatibility with former implementations. My first inclination is to add `text-decoration-offset` as a property (with an alias for `text-underline-offset`) and maybe include it in the shorthand though parsing might make that hard due to ambiguity between width and offset. -- GitHub Notification of comment by schenney-chromium Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12301#issuecomment-2959454515 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 June 2025 14:21:53 UTC