- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 14 Feb 2017 23:26:14 -0800
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fullscreen/pull/72/review/21935448@github.com>
foolip commented on this pull request. The changes look good with some tweaking. A PR on web-platform-tests to go with this? > @@ -295,18 +295,28 @@ attribute's getter must run these steps: <li><p>Return null. </ol> +<p>A <a>document</a> is said to be a <dfn>simple fullscreen document</dfn> if its <a>top layer</a> Ah, so I would have read this definition as requiring that there is exactly one element in the top layer, and that it has the fullscreen flag set. Perhaps rephrase as "A document is said to be a simple fullscreen document if there is exactly one element in its top layer with the fullscreen flag set" and write a note saying that "In other words, a document with two elements in its top layer, where just one has the fullscreen flag set, is a simple fullscreen document"? > <li><p>Let <var>docs</var> be an ordered set consisting of <var>doc</var>. - <li><p>While <var>docs</var>'s last <a for=/>document</a> has a <a>browsing context container</a> - whose <a>node document</a>'s <a>top layer</a> consists of a single <a>element</a> that has its - <a>fullscreen flag</a> set and does not have its <a>iframe fullscreen flag</a> set (if any), append - that <a>node document</a> to <var>docs</var>. + <li><p>Run these substeps until terminated: "While true:" WFM, and I've filed https://github.com/whatwg/infra/issues/66 > @@ -348,15 +359,10 @@ attribute's getter must run these steps: <var>doc</var>. <!-- cross-process --> - <li><p>If <var>resize</var> is true and <var>topLevelDoc</var> is not in <var>exitDocs</var>, + <li><p>If <var>resize</var> is true and <var>topLevelDoc</var> is either not in + <var>exitDocs</var>, or not a <a>simple fullscreen document</a>, <a>fully exit fullscreen</a> <var>topLevelDoc</var>, reject <var>promise</var> with a This is what Blink does as well. I think this change is fine, I'll try to bring it closer to implementation in https://github.com/whatwg/fullscreen/pull/65 and ask for your review then. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fullscreen/pull/72#pullrequestreview-21935448
Received on Wednesday, 15 February 2017 07:26:47 UTC