[csswg-drafts] [css-overflow-3] Does overflow-clip-margin only affect painting? (#6884)

vmpstr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-3] Does overflow-clip-margin only affect painting? ==
In [overflow-clip-margin](https://drafts.csswg.org/css-overflow-3/#propdef-overflow-clip-margin) text, it says

> This property defines the overflow clip edge of the box, i.e. precisely how far outside its bounds the box’s content is allowed to paint before being clipped by effects ...

Can I confirm that this means that this only affects [ink overflow](https://drafts.csswg.org/css-overflow-3/#ink) and not [scrollable overflow](https://drafts.csswg.org/css-overflow-3/#scrollable)?

In other words, I think the following should _not_ produce scrollbars on `.scroller`. Is that right?
```html
<style>
.scroller {
    overflow: auto;
    width: 100px;
    height: 100px;
}
.parent {
    width: 100px;
    height: 100px;
    overflow: clip;
    overflow-clip-margin: 10px;
}
.child {
    width: 200px;
    height: 200px;
}
</style>
<div class="scroller">
  <div class="parent">
    <div class="child"></div>
  </div>
</div>
```




Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6884 using your GitHub account


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

Received on Monday, 13 December 2021 17:55:43 UTC