This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26598 - The parentDocs set should stop at documents with > 1 element on the fullscreen element stack
Summary: The parentDocs set should stop at documents with > 1 element on the fullscree...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Fullscreen (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Anne
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-18 14:38 UTC by Philip Jägenstedt
Modified: 2014-08-26 11:31 UTC (History)
2 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2014-08-18 14:38:55 UTC
http://fullscreen.spec.whatwg.org/#api

[[
Let parentDocs be an ordered set consisting of doc's ancestor browsing context's documents with a fullscreen element stack consisting of one element (if any), in tree order.
]]

This will simply exclude a document in the middle of the document chain with more than one elements on its stack, causing resize to be set to true incorrectly.

It's probably safest to populate it with an explicit loop like exitDocs, possibly in a helper function to guarantee that they are in sync.
Comment 2 Philip Jägenstedt 2014-08-26 11:31:56 UTC
LGTM