[whatwg/fullscreen] Fullscreen position adjustment algorithm for documentElement (#134)

If the documentElement is fullscreened Chrome places the document element in the topLayer. However FireFox does not. 

When the style adjustment for fullscreened top layer elements runs this causes the documentElement (which is statically positioned because it isn't forced to be fixed due to avoiding the !:root(..) selector for fullscreen elements). The documentElement gets the position set to be absolute.

However since the documentElement doesn't have any sizing the calculation of the width for the element ends up being 0.

Chrome avoided applying the aboslute poisiton to the document element in:
https://chromium-review.googlesource.com/c/chromium/src/+/1186961


-- 
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/134

Received on Monday, 27 August 2018 14:19:43 UTC