Re: [csswg-drafts] [cssom] Serialization of a declaration block not idempotent in presence of logical properties. (#3244)

I wonder when a declaration that would not be in `current longhand` and belong to the same logical property group than some longhands in `current longhand`, would not have a different mapping logic. This condition can be removed, isn't it?

I guess it could be further improved by serializing the interleaved declaration, in order to serialize `border: 1px solid red; border-block-start-color: green; border-color: blue` to `border-block-start-color: green; border: 1px solid blue;`. But this would prevent serializing eg. `border: 1px solid red; border-block-start-color: green; border-block-end-color: green; border-color: blue` to `border-block-color: green; border: 1px solid blue;`... unless you look for all interleaved declarations: fun stuff!

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


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

Received on Wednesday, 26 October 2022 07:43:06 UTC