[csswg-drafts] [css-gaps] Gap decoration outsets at the edges (#12024)

alisonmaher has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-gaps] Gap decoration outsets at the edges ==
In the [CSS Gap Decoration spec](https://drafts.csswg.org/css-gaps-1/#outset), percentage-based gap outsets are resolved to 0 at the edges.

This makes sense to me, although I'm wondering for other kinds of outset values, if an author still might want to have the outset at the edge different than all other intersection points. The main case I could see is whether an author wants this to match other outsets, or always compute to zero at the edges.

Given this, perhaps we could add an optional input to the `*-outset` properties that indicates whether the outset is applied to the edges.

Something like `rule-outset: 5px exclude-edges`, where the default is `include-edges` (or perhaps `exclude-edges` would make sense as the default). And `exclude-edges` would mean that the outset is treated as 0 at the edges, instead of what is specified by the author.

CC @kbabbitt 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12024 using your GitHub account


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

Received on Friday, 28 March 2025 20:59:04 UTC