Re: [csswg-drafts] [css-borders][css-backgrounds] Interaction of `corner-shape` with `shape-outside` needs to be determined (#10747)

> The proposed `corner-shape` property (#6521, #6980) means that box corners are not always rounded. This will require that https://drafts.csswg.org/css-backgrounds-3/#corner-shaping is updated other describe how to handle non-round corner shapes.

Note that `corner-shape` is already [specified in CSS Borders 4](https://drafts.csswg.org/css-borders-4/#corner-shaping). It still lacks an updated definition of how those shapes are generated. And I am planning to add some spec. text for that.

> In addition, `shape-outside` [references](https://drafts.csswg.org/css-shapes/#shape-outside-property) the `<shape-box>`, which may also not be a simple rounded rect with non-round corner-shapes. It's not super clear how a `scoop` corner shape affects the content box, for example.

The `<shape-box>` definition there obviously also needs to be adjusted to say that it follows the corner shape defined by `border-radius` and `corner-shape`.

Side note: It was [resolved to drop `notch` and `scoop`](https://github.com/w3c/csswg-drafts/issues/3457#issuecomment-499217243) for the time being, mainly due to implementation complexity. #6980 advocates to add them back by giving examples where authors would need them.

Sebastian

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


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

Received on Sunday, 18 August 2024 20:44:13 UTC