Re: [csswg-drafts] [css-logical] Unclear text regarding shorthands that encompass both logical and physical longhands (#7057)

I think what this paragraph is trying to say is that

- if a shorthand explicitly sets a property value, this (obviously) takes priority over an implicit resetting
- also if it sets a value by omission by e.g. duplicating the previous value, this similarly takes priority
- if it resets some longhand to its initial value, this is lower priority than the explicit or implicit setting

Within the same priority, physical longhands are ordered last.

So for example, `margin: logical 10px` (should such a thing exist) would set all four logical longhands of margin, and they would take priority over the physical longhands. But `all: initial` or `margin: reset-everything`, the physical longhands are sorted later (higher priority) than the logicals.

I think that's what it's trying to say.

How it should actually say that, I'm not yet sure...

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


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

Received on Wednesday, 30 March 2022 21:56:34 UTC