Skip to content

Commit 7294c74

Browse files
committed
Meta: export various navigable-related terms
Working on updating Fullscreen to a navigable-based model revealed the need for these. This also un-exports browsing context's "active document" and "active window", since other specifications should generally not be reaching into browsing contexts. (Doing so will likely not work as expected after COOP-induced browsing context group swaps.)
1 parent 783d229 commit 7294c74

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

source

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -86926,9 +86926,9 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8692686926

8692786927
<hr>
8692886928

86929-
<p>A <span>navigable</span>'s <dfn data-x="nav-document">active document</dfn> is its <span
86930-
data-x="nav-active-history-entry">active session history entry</span>'s <span
86931-
data-x="she-document">document</span>.</p>
86929+
<p>A <span>navigable</span>'s <dfn export for="navigable" data-x="nav-document">active
86930+
document</dfn> is its <span data-x="nav-active-history-entry">active session history
86931+
entry</span>'s <span data-x="she-document">document</span>.</p>
8693286932

8693386933
<p class="note">This can be safely read from within the <span
8693486934
data-x="tn-session-history-traversal-queue">session history traversal queue</span> of the
@@ -87058,8 +87058,8 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8705887058
data-x="top-level traversable">top-level traversables</span>). These are typically presented to
8705987059
the user in the form of browser windows or browser tabs.</p>
8706087060

87061-
<p>To get the <dfn data-x="nav-top">top-level traversable</dfn> of a <span>navigable</span>
87062-
<var>inputNavigable</var>:</p>
87061+
<p>To get the <dfn export for="navigable" data-x="nav-top">top-level traversable</dfn> of a
87062+
<span>navigable</span> <var>inputNavigable</var>:</p>
8706387063

8706487064
<ol>
8706587065
<li><p>Let <var>navigable</var> be <var>inputNavigable</var>.</p></li>
@@ -87151,9 +87151,9 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8715187151
<p id="nested-browsing-context">Each <span>navigable container</span> has a <dfn>nested
8715287152
navigable</dfn>, which is either a <span>navigable</span> or null. It is initially null.</p>
8715387153

87154-
<p id="bc-container">The <dfn data-x="nav-container">container</dfn> of a <span>navigable</span>
87155-
<var>navigable</var> is the <span>navigable container</span> whose <span>nested navigable</span>
87156-
is <var>navigable</var>, or null if there is no such element.</p>
87154+
<p id="bc-container">The <dfn export for="navigable" data-x="nav-container">container</dfn> of a
87155+
<span>navigable</span> <var>navigable</var> is the <span>navigable container</span> whose
87156+
<span>nested navigable</span> is <var>navigable</var>, or null if there is no such element.</p>
8715787157

8715887158
<p id="bc-container-document">The <dfn data-x="nav-container-document">container document</dfn>
8715987159
of a <span>navigable</span> <var>navigable</var> is the result of running these steps:</p>
@@ -87183,11 +87183,11 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8718387183
data-x="nav-container-document">container document</span>.</p></li>
8718487184
</ol>
8718587185

87186-
<p id="child-browsing-context">A <span>navigable</span> <var>navigable</var> is a <dfn>child
87187-
navigable</dfn> of another navigable <var>potentialParent</var> when <var>navigable</var>'s <span
87188-
data-x="nav-parent">parent</span> is <var>potentialParent</var>. We can also just say that a
87189-
<span>navigable</span> "is a <span>child navigable</span>", which means that its <span
87190-
data-x="nav-parent">parent</span> is non-null.</p>
87186+
<p id="child-browsing-context">A <span>navigable</span> <var>navigable</var> is a <dfn
87187+
export>child navigable</dfn> of another navigable <var>potentialParent</var> when
87188+
<var>navigable</var>'s <span data-x="nav-parent">parent</span> is <var>potentialParent</var>. We
87189+
can also just say that a <span>navigable</span> "is a <span>child navigable</span>", which means
87190+
that its <span data-x="nav-parent">parent</span> is non-null.</p>
8719187191

8719287192
<p class="note">All <span data-x="child navigable">child navigables</span> are the <span>nested
8719387193
navigable</span> of their <span data-x="nav-container">container</span>.</p>
@@ -87375,8 +87375,8 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8737587375
<code>Document</code>s do have ancestor and descendant navigables, they often behave as if they
8737687376
don't (e.g., in the <code data-x="dom-parent">window.parent</code> getter).</p>
8737787377

87378-
<p>The <dfn>ancestor navigables</dfn> of a <code>Document</code> <var>document</var> are given by
87379-
these steps:</p>
87378+
<p>The <dfn export for="Document">ancestor navigables</dfn> of a <code>Document</code>
87379+
<var>document</var> are given by these steps:</p>
8738087380

8738187381
<ol>
8738287382
<li><p>Let <var>navigable</var> be <var>document</var>'s <span>node navigable</span>'s <span
@@ -87399,8 +87399,8 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8739987399
<li><p>Return <var>ancestors</var>.</p></li>
8740087400
</ol>
8740187401

87402-
<p>The <dfn>inclusive ancestor navigables</dfn> of a <code>Document</code> <var>document</var>
87403-
are given by these steps:</p>
87402+
<p>The <dfn export for="Document">inclusive ancestor navigables</dfn> of a <code>Document</code>
87403+
<var>document</var> are given by these steps:</p>
8740487404

8740587405
<ol>
8740687406
<li><p>Let <var>navigables</var> be <var>document</var>'s <span>ancestor
@@ -87412,8 +87412,8 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8741287412
<li><p>Return <var>navigables</var>.</p></li>
8741387413
</ol>
8741487414

87415-
<p id="list-of-the-descendant-browsing-contexts">The <dfn>descendant navigables</dfn> of a
87416-
<code>Document</code> <var>document</var> are given by these steps:</p>
87415+
<p id="list-of-the-descendant-browsing-contexts">The <dfn export for="Document">descendant
87416+
navigables</dfn> of a <code>Document</code> <var>document</var> are given by these steps:</p>
8741787417

8741887418
<ol>
8741987419
<li><p>Let <var>navigables</var> be new <span>list</span>.</p></li>
@@ -87441,8 +87441,8 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8744187441
<li><p>Return <var>navigables</var>.</p></li>
8744287442
</ol>
8744387443

87444-
<p>The <dfn>inclusive descendant navigables</dfn> of a <code>Document</code> <var>document</var>
87445-
are given by these steps:</p>
87444+
<p>The <dfn export for="Document">inclusive descendant navigables</dfn> of a
87445+
<code>Document</code> <var>document</var> are given by these steps:</p>
8744687446

8744787447
<ol>
8744887448
<li><p>Let <var>navigables</var> be « <var>document</var>'s <span>node navigable</span>
@@ -87917,11 +87917,10 @@ interface <dfn interface>BeforeUnloadEvent</dfn> : <span>Event</span> {
8791787917
have happened if the report-only policy had been enforced.</p></li>
8791887918
</ul>
8791987919

87920-
<p>A <span>browsing context</span>'s <dfn export for="browsing context">active window</dfn> is its
87921-
<code>WindowProxy</code> object's <span data-x="concept-windowproxy-window">[[Window]]</span>
87922-
internal slot value. A <span>browsing context</span>'s <dfn export>active document</dfn> is its
87923-
<span>active window</span>'s <span data-x="concept-document-window">associated
87924-
<code>Document</code></span>.</p>
87920+
<p>A <span>browsing context</span>'s <dfn>active window</dfn> is its <code>WindowProxy</code>
87921+
object's <span data-x="concept-windowproxy-window">[[Window]]</span> internal slot value. A
87922+
<span>browsing context</span>'s <dfn>active document</dfn> is its <span>active window</span>'s
87923+
<span data-x="concept-document-window">associated <code>Document</code></span>.</p>
8792587924

8792687925
<p>A <span>browsing context</span>'s <dfn data-x="bc-traversable">top-level traversable</dfn> is
8792787926
its <span>active document</span>'s <span>node navigable</span>'s <span data-x="nav-top">top-level

0 commit comments

Comments
 (0)