- From: Tim Nguyen <notifications@github.com>
- Date: Sat, 27 Jan 2024 15:01:28 -0800
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 27 January 2024 23:01:34 UTC
### What is the issue with the Fullscreen API Standard? All existing UAs currently hide scrollbars when fullscreen, but they all do so in different ways: - Chrome & Firefox I believe have special logic that prevents scrolling + hides scrollbars - Safari has an `overflow: hidden !important` UA rule on `*|*:root:-webkit-full-screen-document:not(:fullscreen)` I wonder if we can get a standardized way of doing this. Something like: ``` *|*:root:has(:fullscreen) { overflow: hidden | clip !important; } ``` (UAs may not necessarily want to use :has() for performance reasons, but the idea would be something like Safari implements). Also, not sure if clip or hidden is closer to the wanted behavior here, but I think I'd be OK with either. cc @whatwg/css -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/issues/236 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fullscreen/issues/236@github.com>
Received on Saturday, 27 January 2024 23:01:34 UTC