Bug 218573 - Non-fullscreen page contents visible when rotating device during element fullscreen presentation.
Summary: Non-fullscreen page contents visible when rotating device during element full...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-04 10:51 PST by Jer Noble
Modified: 2020-11-11 13:43 PST (History)
10 users (show)

See Also:


Attachments
Patch (11.34 KB, patch)
2020-11-04 11:13 PST, Jer Noble
no flags Details | Formatted Diff | Diff
Patch for landing (12.05 KB, patch)
2020-11-05 09:31 PST, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (44.11 KB, patch)
2020-11-09 09:21 PST, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (42.29 KB, patch)
2020-11-10 14:00 PST, Jer Noble
no flags Details | Formatted Diff | Diff
Patch (42.29 KB, patch)
2020-11-11 09:36 PST, Jer Noble
jer.noble: review?
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jer Noble 2020-11-04 10:51:31 PST
Non-fullscreen page contents visible when rotating device during element fullscreen presentation.
Comment 1 Jer Noble 2020-11-04 10:52:57 PST
<rdar://problem/68528772>
Comment 2 Jer Noble 2020-11-04 11:13:20 PST
Created attachment 413186 [details]
Patch
Comment 3 Simon Fraser (smfr) 2020-11-04 11:21:33 PST
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.
Comment 4 Jer Noble 2020-11-04 13:16:18 PST
(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.
Comment 5 Jer Noble 2020-11-05 09:31:35 PST
Created attachment 413312 [details]
Patch for landing
Comment 6 Jer Noble 2020-11-09 09:21:05 PST
Created attachment 413594 [details]
Patch
Comment 7 Jer Noble 2020-11-10 14:00:39 PST
Created attachment 413736 [details]
Patch
Comment 8 Jer Noble 2020-11-11 09:36:41 PST
Created attachment 413833 [details]
Patch