- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Sat, 25 Nov 2023 22:35:47 +0000
- To: public-css-archive@w3.org
SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-borders-4] Allow to individual values for sides in `border-clip` == The `border-clip` shorthand currently sets all four sides to the same value. Though it would make sense to extend its syntax to set different values for the four sides. To do that, the syntax of `grid-area` could be reused, i.e. ```ebnf border-clip = <border-clip-pattern> [ / <border-clip-pattern> ]{0,3} <border-clip-pattern> = normal | [ <length-percentage [0,∞]> | <flex> ]+ ``` where the number of values works the same as for the box properties like `margin`. I.e. one specified value applies to all four sides. Are two values specified, the first applies to the top and bottom and the second to the left and right side. With three values specified, the first one applies to the top, the second to the left and right and the third to the bottom side. And are four values specified, they are applied to the top, right, bottom, and left sides in that order. Sebastian Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9635 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 25 November 2023 22:35:49 UTC