Re: [csswg-drafts] [cssom] How safe is it really to shorthandify properties? (#8398)

Not sure this is relevant, but WebKit has logic to enumerate all longhands instead of just enumerating the shorthand: https://searchfox.org/wubkat/rev/b36cbce69fddb7da33823f316bd8ead5bebee970/Source/WebCore/css/StyleProperties.cpp#201

Apparently this behavior is already defined: https://www.w3.org/TR/css-cascade-5/#legacy-shorthand

Can't we reuse this for whatever new shorthands we introduce?

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


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

Received on Sunday, 28 July 2024 04:47:29 UTC