- From: Xidorn Quan <notifications@github.com>
- Date: Sun, 27 Sep 2015 16:47:18 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
Received on Sunday, 27 September 2015 23:47:45 UTC
Actually, one difference I just found. If you have, say, `overflow: scroll;` on `<body>`, and the default `overflow: visible` for `:root`, when you request fullscreen on `document.body`, whether the scrollbars appear depends on the wording. For `:root:fullscreen-ancestor { overflow: hidden !important; }` approach, the `body` element will have its scrollbar, however, if we "manually" hide the viewport scrollbar instead of using the style, there would not be any scrollbar, becasue in that case, [the `overflow` property of `body` is propagated to the viewport](http://www.w3.org/TR/CSS2/visufx.html#overflow). --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/issues/23#issuecomment-143604874
Received on Sunday, 27 September 2015 23:47:45 UTC