- From: Xidorn Quan <notifications@github.com>
- Date: Wed, 27 Sep 2017 09:29:40 +0000 (UTC)
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 27 September 2017 09:31:13 UTC
Whether the ancestor elements are visible doesn't matter, but whether they exist matters. The page has rules like ```css :-moz-full-screen-ancestor>:not(:-moz-full-screen-ancestor):not(:-moz-full-screen) { display:none!important } /* as well as those with other vendor prefixes */ ``` so when in fullscreen, if `:-moz-full-screen-ancestor` is valid, everything outside the fullscreen element would no longer generate any box, which means the page basically has no height, and thus `scrollY` becomes zero, which triggers some change inside the fullscreen element (hide some element there so that video is visible). -- 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-332464650
Received on Wednesday, 27 September 2017 09:31:13 UTC