- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Thu, 07 Nov 2024 20:28:44 +0000
- To: public-css-archive@w3.org
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-backgrounds-4] default background-origin for `border-area` in shorthand == In https://github.com/w3c/csswg-drafts/issues/10907#issuecomment-2363557368 @jsnkuhn wrote: > FYI, the other property reset i've used every time with `border-area` is `background-origin: border-box;`. Considering resetting `border-box` as an initial `background-origin` value might be of use as well since im my experience most devs are not familiar with that property. > > https://codepen.io/jsnkuhn/pen/eYwoGgr?editors=1100 > https://codepen.io/jsnkuhn/pen/LYKXGPo > https://codepen.io/jsnkuhn/pen/WNqaeOV > https://codepen.io/jsnkuhn/pen/OJeoapM There's two relevant questions - should `background-origin` check `background-clip` to compute a smart default value - in the `background` shorthand, when one box keyword is specified it's applied to both `background-clip` and `background-origin`; but `border-area` is not a valid keyword for `background-origin`, so should we default it to `border-area`. I think we should definitely fix the latter. Unsure about the former, though it would certainly be helpful to authors. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11167 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 7 November 2024 20:28:45 UTC