Re: [fullscreen] Cannot scroll in IE11 while in fullscreen by Fullscreen API (#23)

It is not a spec bug, because the spec doesn't even have the behavior of viewport scrollbar specified at all.

The fullscreen element being `position: fixed !important` is fine, because the width and height of fullscreen elements are fixed, and thus if there is any content overflowed **inside** the fullscreen element, scrollbar may still appear on the fullscreen element.

Currently, browsers apply `overflow: hidden !important` to `:root` if it is a fullscreen ancestor, so that we don't display useless and annoying scrollbar. However, what happens to this case is that, it requests fullscreen on the root element, and I suspect IE applies `overflow: hidden !important` on `:root` even if the root itself is the fullscreen element. Firefox and Chrome work just fine with the testcase, so this particular case actually indicates an impl bug instead of a spec bug.

But the problem for the spec is, all impls currently just inherit the old behavior, which no longer exists in the spec. We need to add some mechanism for that anyway. This could be a spec bug if we do it wrong in the future, but it is not one at this moment.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/23#issuecomment-140329802

Received on Tuesday, 15 September 2015 09:04:15 UTC