diff --git a/spec.bs b/spec.bs index 8dc9a62..f57d213 100644 --- a/spec.bs +++ b/spec.bs @@ -97,6 +97,9 @@ spec: html; urlPrefix: https://html.spec.whatwg.org/multipage/ text: iframe sandboxing flag set; url: iframe-sandboxing-flag-set for: cross-origin opener policy enforcement result text: needs a browsing context group switch; url: coop-enforcement-bcg-switch + urlPrefix: document-sequences.html + text: valid navigable target name or keyword; url: valid-navigable-target-name-or-keyword + text: the rules for choosing a navigable; url: the-rules-for-choosing-a-navigable urlPrefix: dom.html text: categories; url: concept-element-categories text: contexts in which this element can be used; url: concept-element-contexts @@ -3309,6 +3312,75 @@ left over to be leaked to the next {{Document}}. mind, and could evolve in ways that give this specification unwanted side-effects. +

The "_unfencedTop" navigation target

+ +Fenced frames use an additional reserved navigation target "_unfencedTop" to navigate. +This section patches the relevant portions of the [[HTML]] spec to add support for this new +reserved keyword. + +
+ Modify [=valid navigable target name or keyword=] to include a new keyword named + "_unfencedTop". + + Modify the below paragraph to replace the following text: + + * "top" means the [=top-level traversable=] of the [=navigable=] that the link or script is in, + + with: + + * "top" means the [=navigable/traversable navigable=] of the [=navigable=] that the link or + script is in, "outermost top" means the [=top-level traversable=] of the [=navigable=] that + the link or script is in, + + Note: This change is necessary because this spec adds a distinction between + [=navigable/traversable navigable=] and [=top-level traversable=], which were previously + functionally equivalent. + + In the table below, add a column named "Effect in a fenced frame". The value for all existing + rows in this column is the same as "ordinary effect". Then, add two rows which read: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KeywordOrdinary effectEffect in an iframe with...Effect in a fencedframe>
sandbox=""sandbox="allow-top-navigation"
_unfencedTop if outermost top is currentnewmaybe newmaybe newcurrent
_unfencedTop if outermost top is not currentnewmaybe newmaybe newoutermost top
+
+ +
+ Add an extra step to [=the rules for choosing a navigable=] between the current steps 6 and 7, + that reads: + + 6.5. Otherwise, if name is an ASCII case-insensitive match for "_unfencedTop" and + |currentNavigable|'s [=navigable/traversable navigable=] is a [=fenced navigable container/fenced + navigable=], set chosen to |currentNavigable|'s [=top-level traversable=]. +
+

Page visibility

The Page visibility section of [[HTML]] is