Non-fullscreen page contents visible when rotating device during element fullscreen presentation.
<rdar://problem/68528772>
Created attachment 413186 [details] Patch
Comment on attachment 413186 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=413186&action=review > Source/WebCore/css/fullscreen.css:36 > + background-color: black !important; A background-image could show over this. > LayoutTests/fullscreen/full-screen-ancestor-overflow-layer-dump.html:29 > + setTimeout(() => { Not sure if this will be reliable.
(In reply to Simon Fraser (smfr) from comment #3) > Comment on attachment 413186 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=413186&action=review > > > Source/WebCore/css/fullscreen.css:36 > > + background-color: black !important; > > A background-image could show over this. That's ok; the image will be clipped. This really is just so the scroll view gets the right background color, and that just consults the :root and body background colors. > > LayoutTests/fullscreen/full-screen-ancestor-overflow-layer-dump.html:29 > > + setTimeout(() => { > > Not sure if this will be reliable. Should be OK; fullscreen/full-screen-layer-dump.html (that this test was cribbed from) has never flaked, as far as I can see.
Created attachment 413312 [details] Patch for landing
Created attachment 413594 [details] Patch
Created attachment 413736 [details] Patch
Created attachment 413833 [details] Patch