Bug 138569 - Hide all non-fullscreen elements when in fullscreen mode
Summary: Hide all non-fullscreen elements when in fullscreen mode
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jer Noble
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-11-10 11:46 PST by Jer Noble
Modified: 2014-11-11 08:12 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.