Re: [csswg-drafts] [css-variables-2] Custom shorthands with `@property` (#7879)

> In the former, if anything, even with the tiniest specificity overrides padding, no amount of setting --foo to anything will affect the padding.

I fail to see the issue is with that.
Maybe the example given is too terse and I am missing the point.

But as I understand it we have sufficient tools with specificity, cascade layers and `!important` to control which properties can be overridden and what the final result will be.

> the declaration will expand to something that includes padding, and can override other padding declarations.

That is unexpected as it would not follow rules authors already know from regular properties and shorthands. (or I am still missing the issue :) )

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


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

Received on Saturday, 15 October 2022 18:08:20 UTC