- From: Kevin Babbitt via GitHub <noreply@w3.org>
- Date: Mon, 10 Nov 2025 07:40:55 +0000
- To: public-css-archive@w3.org
Had an offline discussion at TPAC with @alisonmaher and @tabatkins. This proposal sounded good: > /* Longhands */ > column-rule-visibility-items: [ all | around | between | none ]; > row-rule-visibility-items: [ all | around | between | none ]; > > /* Shorthand */ > rule-visibility-items: <'column-rule-visibility'> || <'row-rule-visibility'>; > **Property Value Definitions:** > > * **`all`**: The default behavior. Decorations are painted in all gap segments, regardless of whether adjacent grid cells are occupied. > * **`around`**: A decoration is painted in a gap segment if **at least one** of the two grid cells adjacent to it contains a grid item. > * **`between`**: A decoration is painted in a gap segment only if **both** of the grid cells adjacent to it contain a grid item. > * **`none`**: No decorations are painted. I do think there's room to apply it to other layout modes as shown by @yisibl's flexbox use case. Regarding a "virtual gap track" to achieve the outlines around font characters - we felt it's a good idea but a separate issue. We could add e.g. `column-edge-gap` and `row-edge-gap` properties that would introduce gaps around the edges of the container, and then let gap decoration behavior, including `rule-visibility-items` once we have it, apply to those gaps. Alternatively, could the same effect be achieved by introducing zero-width tracks around the edges of the container? -- GitHub Notification of comment by kbabbitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12602#issuecomment-3509906544 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 10 November 2025 07:40:55 UTC