diff --git a/source b/source index bd7489348b8..ae32b6a5050 100644 --- a/source +++ b/source @@ -78581,31 +78581,40 @@ dictionary DragEventInit : MouseEventInit { context containers.

Each browsing context container has a nested browsing - context, which is either a browsing context or null.

+ context, which is either a browsing context or null. It is initially null.

-

If a browsing context is the nested browsing context of a - browsing context container, then the browsing context is said to be nested through the browsing - context container's node document.

+

The container of a browsing context bc + is the browsing context container whose nested browsing context is + bc, or null if there is no such element.

-

A browsing context child is said to be a child - browsing context of another browsing context parent, if all of the - following conditions hold:

+

Each browsing context bc has a container document, which is the result of running these + steps:

- +

This is equal to bc's container's + shadow-including root as bc's container has to be connected.

+ + -

A browsing context child is then a document-tree child browsing - context of parent if it is a child browsing context and its - browsing context container is not just connected, but also in a - document tree.

+

A browsing context child is said to be a child + browsing context of another browsing context parent, if + child's container document is non-null and + child's container document's browsing context is parent.

+ +

A browsing context child is a document-tree child browsing + context of parent if child is a child browsing context + and child's container is in a document + tree.

A browsing context child may have a parent browsing context. This is the unique browsing context that has child as a @@ -78627,10 +78636,10 @@ dictionary DragEventInit : MouseEventInit { group">group (null or a browsing context group). It is initially null.

It is possible to create new browsing contexts that are related to a top-level browsing - context without being nested through an element. Such browsing contexts are called auxiliary - browsing contexts. Auxiliary browsing contexts are always top-level browsing contexts.

+ context while their container is null. Such browsing + contexts are called auxiliary browsing contexts. Auxiliary browsing contexts are always top-level browsing contexts.

The transitive closure of parent browsing contexts for a browsing context that is a nested browsing context gives the list @@ -78663,13 +78672,14 @@ dictionary DragEventInit : MouseEventInit {

  • Return list.

  • -

    A Document is said to be fully - active when its browsing context is non-null and - it is the active document of that browsing context, and either its A Document d is said to be fully active when d's browsing context is non-null, d's browsing context's active document is + d, and either d's browsing context is a top-level browsing context, - or it has a parent browsing context and the Document through which it is nested is itself fully active.

    + or d's container document is fully + active.

    Because they are associated with an element, child browsing contexts are always tied to a specific Document in their parent @@ -78719,11 +78729,11 @@ dictionary DragEventInit : MouseEventInit { document of browsing context B, and is also fully active.

  • The c.html Document is still the active - document of browsing context C. However, since it is nested through the b-1.html Document, - which is itself not fully active, this means the c.html - Document is now not fully active (even though it is active).

  • + document of browsing context C. However, since C's container document is the b-1.html + Document, which is itself not fully active, this means the c.html Document is now not fully active (even though + it is active).

    For more explorations of the complexities involved here, especially as it impacts DragEventInit : MouseEventInit { spec=NAVMODEL>

    -

    A browsing context that is a nested browsing context can be put into - a delaying load events mode. This is used when it is - navigated, to delay the load event of its - browsing context container before the new Document is created.

    - - +

    A child browsing context can be put into a delaying load events mode. This is used when it is navigated, to delay the load event of its + container before the new Document is created.

    The document family of a browsing context consists of the union of all the Document objects in that browsing context's session history and the document families of all those Document objects. The document family of a Document object consists of the union of all the document families of the - browsing contexts that are nested through the Document object.

    + browsing contexts in the list of the descendant + browsing contexts of the Document object.

    The content document of a browsing context container container is the result of the following algorithm:

    @@ -91580,18 +91577,18 @@ dictionary PromiseRejectionEventInit : EventInit { must be met:

    In the steps below that iterate over docs, each Document must be @@ -103929,30 +103926,22 @@ dictionary StorageEventInit : EventInit {

  • -

    If the HTML parser for which this algorithm is being run is associated with a - Document that is itself in a nested browsing context, run these - substeps:

    + Document d whose browsing + context is non-null and a child browsing context, then:

      - -
    1. Let new document be the Document with which the - HTML parser is associated.

    2. - -
    3. Let parent document be the Document through which new document is - nested (the active document of the parent browsing context of - new document).

    4. - -
    5. If parent document's origin is same origin with - new document's origin, and parent document's character encoding is an ASCII-compatible - encoding, then return parent document's character encoding, with the confidence tentative.

    6. - +
    7. Let parentDocument be d's browsing context's container document.

    8. + +
    9. If parentDocument's origin is same origin with + d's origin and parentDocument's character encoding is an ASCII-compatible encoding, + then return parentDocument's character + encoding, with the confidence + tentative.

    -
  • Otherwise, if the user agent has information on the likely encoding for this page, e.g.