- From: Xidorn Quan <notifications@github.com>
- Date: Wed, 27 Sep 2017 03:34:22 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 September 2017 10:34:45 UTC
That's not moz-prefixed specific, they have similar rules for all vendor prefixes as well as unprefixed `:fullscreen-ancestor`:
```css
:-webkit-full-screen-ancestor>:not(:-webkit-full-screen-ancestor):not(:-webkit-full-screen) {
display:none!important
}
:-moz-full-screen-ancestor>:not(:-moz-full-screen-ancestor):not(:-moz-full-screen) {
display:none!important
}
:-ms-fullscreen-ancestor>:not(:-ms-fullscreen-ancestor):not(:-ms-fullscreen) {
display:none!important
}
:fullscreen-ancestor>:not(:fullscreen-ancestor):not(:fullscreen) {
display:none!important
}
```
The root doesn't have `display:none`, because they use `:fullscreen-ancestor>:not(:fullscreen-ancestor):not(:fullscreen)`, which is anything outside the fullscreen tree.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/103#issuecomment-332480479
Received on Wednesday, 27 September 2017 10:34:45 UTC