- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 08 Nov 2024 00:01:55 +0000
- To: public-css-archive@w3.org
(I presume the end of your second bullet point means to say `border-box`.) Yes, I definitely think that `background: url(...) border-area;` should default `-origin` to `border-box`. We already magically match up the two properties when you specify only one value (and while nothing special happens for `text`, the initial `padding-box` value for origin is likely what you expect anyway), and a border-box origin is clearly the similarly-intended partner to a border-area clip. (This would also apply to a `border-area text` value, I presume.) I'm mildly against doing this with the initial value (rather than just via the shorthand); we don't match up the values *today* for any of the values; that is, if I set `background-clip: border-box;`, I'll confusingly still get a `background-origin: padding-box;` by default, and have to remember to correct it. I don't think `border-area` is meaningfully different from `border-box` here, so we shouldn't add novel magic for it. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11167#issuecomment-2463456543 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 8 November 2024 00:01:55 UTC