- From: Miriam Suzanne via GitHub <noreply@w3.org>
- Date: Thu, 16 Oct 2025 22:12:07 +0000
- To: public-css-archive@w3.org
I agree that's useful context to add, and points to some interesting potential features. > I'm missing something about the cascade I guess. When two things are set in a single property you can't change one without overriding the other. This is true of shorthands generally - when you set `border: solid`, that resets `border-width` and `border-color` to their initial values. If we didn't have longhand properties for each part (as with shadows), there would be no way to adjust just the `border-width` while leaving everything else in place. By having separate properties, each part can _cascade independently_, without overriding the other parts. So the question is: should you always have to set the 'cap' shape and `<length>` together in one property? Or should it be possible to change one without overriding the other? If we ever want to adjust those values separately, we need distinct properties for them to use. And then we would still need unique names for the cap shape and the cap… length? offset? something else? I kinda like `*-cap-shape` and `*-cap-offset` (to match `text-underline-offset`), but it loses the brevity you were going for. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8402#issuecomment-3413026110 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 October 2025 22:12:08 UTC