Re: [csswg-drafts] [css-link-params-1] Discussion over whether link-parameters should be inherited (#13667)

Sebastian is correct. Making them inherit means they'll apply to everything below, which can be unexpected. The *general* rule for inherit vs not is that we make properties inherit when they apply to *text* (which lives "inside" of elements and can't be directly selected, but received its properties from its parent element via inheritance) and not inherited when they apply to *boxes*. There are some exceptions, but that divide generally applies.

In this case, `link-parameters` applies to images on an element; *generally speaking* it'll just be the element itself (an `<img>`) or the element's background image. That falls pretty squarely into the "box" category.

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


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

Received on Tuesday, 24 March 2026 21:49:52 UTC