Re: [csswg-drafts] [selectors] Add :modal-dialog pseudo-class (#6965)

And in Gecko fullscreen isn't "modal", you can interact with the page behind if you want, see:

```html
<!doctype html>
<style>
  #fullscreen {
    background-color: rgba(0, 255, 0, .5);
  }
  #fullscreen::backdrop {
    background-color: transparent;
  }
  #fullscreen, #fullscreen::backdrop {
    pointer-events: none;
  }
</style>
<p>Here's some text</p>
<div id="fullscreen"></div>
<button>Go fullscreen</button>
<script>
  document.querySelector("button").addEventListener("click", function(e) {
    document.getElementById("fullscreen").requestFullscreen();
  });
</script>
```

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


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

Received on Wednesday, 25 May 2022 10:43:17 UTC