Re: [csswg-drafts] [css-overflow-5] overflow-clip-margin: content-box should not apply border radius to the content box. (#13388)

here's an example showing off what, i think, is the behavior you want

```css
.card {
  width: 400px;
  height: 400px;
  box-sizing: border-box;
  border: 30px solid black;
  border-radius: 50%;
  background: linear-gradient(orange 0 0) content-box, lightblue;
  padding: 8px 8px;
  position: relative;
  display: flex;
  font-size: 24px;
  text-align: center;
}

.card p {
  text-align: justify;
}

.card > div {
  background: #ffd8;
  padding: 8px;
  margin: 0 62px;
}

.clip {
  overflow: clip;
}
.content-box {
  overflow-clip-margin: content-box;
}
```

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


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

Received on Friday, 23 January 2026 22:08:13 UTC