Re: [csswg-drafts] [css-contain][css-overflow] Setting containment on root should not make scrolling impossible (#9003)

> * When we have a non-default root overflow specified, it should absolutely propagate to the viewport. This is certainly a browser bug (in all browsers).

I'm pretty sure the Chrome implementation propagates the overflow value to the viewport, but that what you see is instead an effect of how overflow is treated for contain:layout.

```html
<!DOCTYPE html>
<style>
  html {
    contain: layout; /* No scrollbars, change to size and you will have scrollbars. */
    overflow: auto;
    height: 0px;
  }
  #filler { height: 10000px; }
</style>
<div id="filler"></div>
```


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


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

Received on Wednesday, 19 July 2023 13:46:47 UTC