Re: [csswg-drafts] [css-borders-4] Interaction of single-path `border-shape` with non-uniform `border-width` (#11662)

> > Please see https://github.com/noamr/explainers/blob/main/border-shape-explainer.md#how-it-renders-behind-the-scenes
> > The concept to be discussed at the F2F:
> > 
> > * `border-shape` ignores border size (similar to `border-style: none`)
> 
> Fine by me.
> 
> > * The inner and outer paths are stroked using the `stroke-*` properties
> 
> Should we allow different strokes for different folks, er for outside and inside?

Perhaps a future extension? I think that can be done in a web compat way.

> 
> > * The area between the outer and inner paths are filled using the `fill-*` properties
> 
> OK, but I'm also not opposed to filling with the border colors with diagonal corner joins, just as we do for large uneven border radii.

I guess we'd feel it as four triangles with the appropriate colors? That's possible though using fill has some advantages and is more attuned to filling a shape. But no objection to have some mechanism to choose between the two.
 


-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11662#issuecomment-3204254037 using your GitHub account


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

Received on Wednesday, 20 August 2025 05:34:15 UTC