diff --git a/fullscreen.bs b/fullscreen.bs index aad0df6..d326868 100644 --- a/fullscreen.bs +++ b/fullscreen.bs @@ -61,8 +61,16 @@ stated otherwise it is unset.

All documents have an associated list of pending fullscreen events, which is an ordered set of (string, element) tuples. It is initially empty. -

To fullscreen an element, set element's fullscreen flag -and add it to its node document's top layer. +

To fullscreen an element: + +

    +
  1. Run hide all popovers given element's node document. + +

  2. Set element's fullscreen flag. + +

  3. Add element to element's node document's + top layer. +

To unfullscreen an element, unset element's fullscreen flag and iframe fullscreen flag (if any), and remove it from @@ -230,6 +238,10 @@ if all of the following are true, and false otherwise:

  • element's node document is allowed to use the "fullscreen" feature. + +

  • element namespace is not the HTML namespace or + element's popover visibility state is hidden.