Re: [whatwg/fullscreen] How should UAs hide root element scrollbars? (Issue #236)

I think the code that makes this work in Chromium is [this](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/fullscreen.css;l=52-59;drc=17460926782b758f5cd86552221182bb9b188ce5):

```css
:root:-webkit-full-screen-ancestor {
  overflow: hidden !important;
}
```

`:-webkit-full-screen-document` was used previously, but changed in https://codereview.chromium.org/807473002.

Specifying this with `:has()` sounds reasonable, but I'm wondering why it shouldn't just be `overflow: hidden !important`? Would changing it to `overflow: hidden | clip !important` be observable in any way?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/236#issuecomment-2116782582
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fullscreen/issues/236/2116782582@github.com>

Received on Friday, 17 May 2024 06:04:26 UTC