Re: [csswg-drafts] [css-align-3] `grid-*-gap` should be aliases instead of shorthands (#8014)

I would not want to stray too far from the topic of this issue (which is to allow aliasing `grid-*-gap` as a simple alias), but did you had discussions about serializing the legacy shorthand with `var()` as a specified value (when it was declared for the target property), but with empty string as a computed/resolved value? This may avoid these confusing serializations:

```js
style.pageBreakAfter = 'var(--custom)'
style.cssText; // 'break-after: ;'
style.breakAfter = 'var(--custom)'
style.cssText; // 'break-after: var(--custom);'
```

But how to serialize these cases may not be fully defined though (cf. #3109).

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


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

Received on Saturday, 5 November 2022 12:47:15 UTC