Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fad8923

Browse files
authored
Clarify self-navigation behavior in a presentation. (#461)
* Be specific about navigation * Revert * Restore changes * Address feedback
1 parent ff5a520 commit fad8923

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

index.html

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,11 @@ <h2>
327327
"https://www.w3.org/TR/html51/browsers.html#active-sandboxing-flag-set">
328328
active sandboxing flag set</a></dfn>
329329
</li>
330+
<li>
331+
<dfn><a href=
332+
"https://www.w3.org/TR/html51/browsers.html#allowed-to-navigate">allowed
333+
to navigate</a></dfn>
334+
</li>
330335
<li>
331336
<dfn><a href=
332337
"https://www.w3.org/TR/html51/browsers.html#allowed-to-show-a-popup">allowed
@@ -398,7 +403,7 @@ <h2>
398403
list of descendant browsing contexts</a></dfn>
399404
</li>
400405
<li>
401-
<dfn><a href=
406+
<dfn data-lt="steps to navigate"><a href=
402407
"https://www.w3.org/TR/html51/browsers.html#navigated">navigate</a></dfn>
403408
</li>
404409
<li>
@@ -3057,14 +3062,25 @@ <h4>
30573062
listed above.
30583063
</p>
30593064
<p>
3060-
The <a>top-level browsing context</a> MUST NOT be allowed to
3061-
navigate itself, except by <a>navigating to a fragment
3062-
identifier</a> or by <a data-lt="reload a document">reloading its
3063-
document</a>. This allows the user to grant permission based on the
3065+
When the <a>top-level browsing context</a> attempts to navigate to
3066+
a new resource and runs the <a>steps to navigate</a>, it MUST
3067+
follow step 1 to determine if it is <a>allowed to navigate</a>. In
3068+
addition, it MUST NOT be allowed to navigate itself to a new
3069+
resource, except by <a>navigating to a fragment identifier</a> or
3070+
by <a data-lt="reload a document">reloading its document</a>.
3071+
</p>
3072+
<p class="note">
3073+
This allows the user to grant permission based on the origin of the
30643074
presentation URL shown when <a data-lt=
30653075
"select a presentation display">selecting a presentation
30663076
display</a>.
30673077
</p>
3078+
<p>
3079+
If the top-level-browsing context was not <a>allowed to
3080+
navigate</a>, it SHOULD NOT offer to open the resource in a new
3081+
<a>top-level browsing context</a>, but otherwise SHOULD be
3082+
consistent with the <a>steps to navigate</a>.
3083+
</p>
30683084
<p>
30693085
<a>Window clients</a> and <a>worker clients</a> associated with the
30703086
<a>receiving browsing context</a> and its <a>list of descendant

0 commit comments

Comments
 (0)