-
Notifications
You must be signed in to change notification settings - Fork 757
Closed
Closed
Copy link
Description
In #10907 (comment) @jsnkuhn wrote:
FYI, the other property reset i've used every time with
border-areaisbackground-origin: border-box;. Considering resettingborder-boxas an initialbackground-originvalue 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-origincheckbackground-clipto compute a smart default value - in the
backgroundshorthand, when one box keyword is specified it's applied to bothbackground-clipandbackground-origin(spec); butborder-areais not a valid keyword forbackground-origin, so should we default it toborder-area.
I think we should definitely fix the latter. Unsure about the former, though it would certainly be helpful to authors.
Metadata
Metadata
Assignees
Type
Projects
Status
Regular agenda items