Re: [whatwg/fullscreen] Removing `:fullscreen-ancestor` pseudo-class causes webcompat issue (#103)

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