Re: [csswg-drafts] [css-gaps-1] Serializing `column-rule` shorthand from separate longhands (#12201)

The CSS Working Group just discussed ``[css-gaps-1] Serializing `column-rule` shorthand from separate longhands``.

<details><summary>The full IRC log of that discussion</summary>
&lt;Kurt> oSamDavis: column rule shorthand, with gap decorations, you can use a list and repeat syntax<br>
&lt;Kurt> ...when you have longhand, the issue is when you have individual longhand properties that don't align<br>
&lt;Kurt> ...the question is how do you serialize or get shorthand from individual longhands<br>
&lt;Kurt> ...when no repeaters are used, you can line up using LCM, but using repeaters, you can expand and then using LCM<br>
&lt;Kurt> ...this would mean some cases don't preserve auto repeat syntax for column rule, we would see values blown up to match separate longhand<br>
&lt;Kurt> ...CSSOM serialization rules say either no shorthand or if you cannot represent, return empty string<br>
&lt;Kurt> ...how hard to we want to try to get shorthand, or if we don't align return empty string<br>
&lt;Kurt> astearns: not aware of escape hatch, where else is it used<br>
&lt;Kurt> oSamDavis: I have seen in border IIRC<br>
&lt;Kurt> ...not sure of specifics<br>
&lt;alisonmaher> q+<br>
&lt;Kurt> astearns: I'm not aware of any, but I might not know about it, where we go to great lengths to make a longer shorthand value in order to accurately represent the longhands, seems not useful<br>
&lt;astearns> ack alisonmaher<br>
&lt;Kurt> oSamDavis: I'm hearing we could return an empty string when it's difficult<br>
&lt;Kurt> almaher: do we have a precedent in grid<br>
&lt;Kurt> oSamDavis: I looked at grid, but grid's shorthand is can have columns or rows separated by a slash, so it's easier. Can have properties as part of shorthand, which is not the same as column rule<br>
&lt;Kurt> astearns: on this one, I think we need to take it back to the issue or do another call, need shorthand experts with strong opinions<br>
&lt;Kurt> ...I will tag folks in the issue, hopefully will define soon<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12201#issuecomment-3160738186 using your GitHub account


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

Received on Wednesday, 6 August 2025 15:59:30 UTC