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 26672 - Slightly confused definition of descendantDocs
Summary: Slightly confused definition of descendantDocs
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-26 12:38 UTC by Philip Jägenstedt
Modified: 2014-08-26 13:17 UTC (History)
2 users (show)

See Also:


Attachments

Description Philip Jägenstedt 2014-08-26 12:38:06 UTC
http://fullscreen.spec.whatwg.org/#dom-document-exitfullscreen

"Let descendantDocs be doc's descendant browsing context's document descendantDoc with a non-empty fullscreen element stack (if any), in reverse tree order."

Having the variable name descendantDoc (unused here) and the non-plural "document" makes this definition a bit curious.

Something like "Let descendantDocs be an ordered set consisting of doc's descendant browsing context's documents with a non-empty fullscreen element stack (if any), in reverse tree order." maybe?
Comment 2 Philip Jägenstedt 2014-08-26 13:05:41 UTC
Hmm, grammar is hard, I guess that "descendant browsing context's documents" should actually be "descendant browsing contexts' documents" or something?
Comment 4 Philip Jägenstedt 2014-08-26 13:17:27 UTC
LGTM now!