Re: [csswg-drafts] [css-values] Allow `unset` to use `revert` for non-inherited properties, instead of `initial` (#12341)

Yes, styles implied by attributes are typically [presentational hints](https://drafts.csswg.org/css-cascade-5/#preshint), which `revert` treats as part of the author origin (since after all, it's the author who sets the attributes).

See #10416 for a proposal to have more control about which layer you want to revert to.

I guess you could also make a case for excluding SVG properties from the `all` shorthand.

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


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

Received on Wednesday, 18 June 2025 23:53:13 UTC