Re: [csswg-drafts] [css-values] Rename `inherit()` to `parental()`, add more `inherit`-like variant as `inherit()` (#13426)

I thought it would be a problem if the first parameter also became optional, but you never need a fallback value if the property specified in the first parameter (or implied by its omission) cannot be void (i.e. guaranteed invalid) like all standard properties.

~~~~ css
a {
--custom: green;
  background: var(--custom);
  border-color: lime;
  color: olive;
}
a>b {
--custom: orange;
  border-color:
    currentcolor
    inherit(/* border-color */) /* like `inherit` */
    inherit(background-color) /* future level */
    inherit(--custom, red)
  ; /* = olive lime green green */
}
~~~~


-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13426#issuecomment-3954785958 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 24 February 2026 21:19:16 UTC