Re: [whatwg/fullscreen] Reinstate the hierarchy restrictions (#91)

upsuper commented on this pull request.



> @@ -182,6 +182,12 @@ if all of the following are true, and false otherwise:
 <ul>
  <li><p><var>element</var> is <a>connected</a>.
 
+ <li><p><var>element</var>'s <a>node document</a>'s <a>fullscreen element</a> is null, or is an
+ <a>inclusive ancestor</a> of <var>element</var>.

You also need to invoke this check recursively for its browsing context container if any.

-- 
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/91#pullrequestreview-39638014

Received on Tuesday, 23 May 2017 04:30:37 UTC