- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Tue, 09 Sep 2025 08:35:18 +0000
- To: public-css-archive@w3.org
An adjustment to the above after playing with it: The chosen border color actually becomes the fill between the two shapes. `border-stroke-*` might not be needed! We can use outline to stroke the outer/inner shape in addition. So to summarize: - Border width+color are chosen from the first non-zero border (with style different than `none`) out of TRBL - The border width applies to layout as normal, as if the border color was transparent. - If only one shape is given, the selected border width is used to expand the shape into two shapes like a stroke of that width. - `half-border-box` is used as the default `geometry-box`. It is exactly in the middle between the padding and border box. This is only the default in the single-shape variant. - The chosen color fills between the two shapes (in both variants) - Additional stroking/filling is deferred - The way border styles are rendered is not spec'ed at the moment, as they are not spec'ed for normal (box) borders as well. @smfr @fantasai @SebastianZ @tabatkins WDYT? -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11662#issuecomment-3269531941 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 9 September 2025 08:35:19 UTC