Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec _unfencedTop navigation target #174

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3454,6 +3454,24 @@ at the expense of some utility.
</wpt>
</div>

<h3 id=unfencedtop-monkeypatch>_unfencedTop</h3>

Fenced frames use an additional reserved navigation target `_unfencedTop` to navigate. This section patches the "Navigation and session history" spec to add `_unfencedTop`.

Extend [=valid navigable target name or keyword=] to include `_unfencedTop`.

In the following paragraph, "outermost top" is the top of nested navigables

In the table below, add a column for "Effect in a fenced frame"

The value for all other rows is the same as "ordinary effect".

Add rows for "_unfencedTop if outermost top is current" and "_unfencedTop if outermost top is not current", and make the rows like the top rows, but replacing top with outermost top.

Add an extra step to [=The rules for choosing a navigable=] between the current steps 6 and 7:

6.5. Otherwise, if name is an ASCII case-insensitive match for "_unfencedTop" and |currentNavigable| is in a fenced frame, set |chosen| to |currentNavigable|'s outermost navigable.

<h2 id=security-and-privacy>Security & Privacy Considerations</h2>

This material is being upstreamed from our explainer into this specification, and in the meantime
Expand Down
Loading