Bug 138569

Summary: Hide all non-fullscreen elements when in fullscreen mode
Product: WebKit Reporter: Jer Noble <jer.noble>
Component: New BugsAssignee: Jer Noble <jer.noble>
Status: NEW ---    
Severity: Normal CC: dino, jonlee, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Jer Noble 2014-11-10 11:46:58 PST
Hide all non-fullscreen elements when in fullscreen mode
Comment 1 Jer Noble 2014-11-10 15:11:11 PST
rdar://problem/18912707
Comment 2 Simon Fraser (smfr) 2014-11-10 15:39:44 PST
Does this destroy page state in a way that pages will detect (e.g. plug-in state)?
Comment 3 Jer Noble 2014-11-10 16:51:30 PST
Pages could detect state changes via window.getComputedStyle(), but this is already true of existing fullscreen UA styles.

I don't know if destroying a plugin renderer by setting display:none will destroy that plug-in's state.
Comment 4 Jon Lee 2014-11-11 01:32:01 PST
Would using 0 opacity be less destructive?
Comment 5 Jer Noble 2014-11-11 08:12:47 PST
Opacity:0 would not be enough. The elements would still get renderers, would still participate in layout, and could still force the backing store of their ancestors to become larger than the fullscreen element.