-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify backdrop/filter/paint behavior for Fullscreen API #165
Comments
In case it helps, I experimented with Fullscreen API here: https://fullscreenblend.glitch.me/ Specifically, this includes a style rule that sets the fullscreen backdrop transparent, overriding the UA's "backdrop: black": :not(:root):fullscreen::backdrop {
background-color: transparent;
} This leads to odd effects in Chrome (I tested 80 and 82), where it appears that the backdrop filter in the fullscreen element unexpectedly applies to content that's supposed to be hidden by the backdrop. If I'm understanding it right, this means that the top layer isn't yet acting as a backdrop root? |
To clarify, the behavior appears to be as expected when using the default black backdrop. The unexpected results appear for a transparent backdrop, and I'm unsure if this is expected to work, but the browser doesn't currently stop me from doing this. The experiment just used normal CSS rules, I didn't modify the browser or UA stylesheets. |
I think we've reached the point where Fullscreen has done sufficient amounts of monkey patching of CSS algorithms and the CSS WG ought to take over these concepts. cc @whatwg/css |
In separate issue immersive-web/dom-overlays#20, @chrishtr pointed out several issues related to the interaction of the fullscreen API and WebXR DOM Overlays, and suggested several changes to the Fullscreen API to better define the expected behavior:
@chrishtr wrote:
The text was updated successfully, but these errors were encountered: