@@ -89,15 +89,15 @@ code.key {
8989<style>
9090#api-check:checked ~ .api,
9191#api-check:checked ~ * .api {
92- display: none;
92+ display: none;
9393}
9494#cssapi-check:checked ~ .cssapi,
9595#cssapi-check:checked ~ * .cssapi {
96- display: none;
96+ display: none;
9797}
9898#verbose-check:checked ~ .verbose,
9999#verbose-check:checked ~ * .verbose {
100- display: none;
100+ display: none;
101101}
102102</style>
103103
@@ -917,29 +917,29 @@ the <a spec=html for="/">origin</a> of the [=active document=] of the [=top-leve
917917<h2 id=policy-feature>
918918The <a>navigation-override</a> <a>policy-controlled feature</a></h2>
919919
920- The <dfn>navigation-override</dfn> <a>policy-controlled feature</a> controls
921- the availability of mechanisms that enables the page author
922- to take control over the behavior of spatial navigation,
923- or to cancel it outright.
920+ The <dfn>navigation-override</dfn> <a>policy-controlled feature</a> controls
921+ the availability of mechanisms that enables the page author
922+ to take control over the behavior of spatial navigation,
923+ or to cancel it outright.
924924
925- * The feature name is "<code> navigation-override</code> "
926- * The <a>default allowlist</a> for <a>navigation-override</a> is "<code> self</code> "
925+ * The feature name is "<code> navigation-override</code> "
926+ * The <a>default allowlist</a> for <a>navigation-override</a> is "<code> self</code> "
927927
928- As defined in further details in [[#nav]] ,
929- if <a>navigation-override</a> is disabled in a document,
930- the navigation events (see [[#events-navigationevent]] ) will not be fired.
928+ As defined in further details in [[#nav]] ,
929+ if <a>navigation-override</a> is disabled in a document,
930+ the navigation events (see [[#events-navigationevent]] ) will not be fired.
931931
932- Note: This is to prevent a hostile iframe from using these events
933- in order to hijack the focus.
934- We recognize that there exist other mechanisms predating spatial navigation
935- that malicious the author could use
936- to interfere with the user's ability to control where the focus goes.
937- Despite that, it seems worthwhile to attempt not to increase this attack surface,
938- although it is possible that such attacks are already sufficiently easy to perform
939- that this is a lost cause.
940- Further feedback on this topic,
941- based on experience with implementation or with mitigating such attacks,
942- is very welcome.
932+ Note: This is to prevent a hostile iframe from using these events
933+ in order to hijack the focus.
934+ We recognize that there exist other mechanisms predating spatial navigation
935+ that malicious the author could use
936+ to interfere with the user's ability to control where the focus goes.
937+ Despite that, it seems worthwhile to attempt not to increase this attack surface,
938+ although it is possible that such attacks are already sufficiently easy to perform
939+ that this is a lost cause.
940+ Further feedback on this topic,
941+ based on experience with implementation or with mitigating such attacks,
942+ is very welcome.
943943
944944
945945<h2 id=processing-model>
@@ -1079,6 +1079,7 @@ To run the <dfn>spatial navigation steps</dfn> in <var>direction</var>, do the f
10791079 excluding <var> eventTarget</var>
10801080 </span>
108110817. If <var> candidates</var> is empty:
1082+ <ul>
10821083 <li class=cssapi> If the computed value of the 'spatial-navigation-action' property on <var> container</var> is not ''spatial-navigation-action/focus''
10831084 and <var> container</var> is a <a>scroll container</a> that <a>can be manually scrolled</a> ,
10841085 <a>directionally scroll the element</a> <var> container</var> in <var> direction</var> and return.
@@ -1307,10 +1308,10 @@ The meaning of each term is as follows:
13071308 the length of the overlap between the vertical projections onto the horizontal axis
13081309 of the <var> reference</var> and the <var> candidate</var>
13091310
1310- <figure>
1311- <img alt="" src="images/projected_overlap.png" style="width: 500px;">
1312- <figcaption> projectedOverlap</figcaption>
1313- </figure>
1311+ <figure>
1312+ <img alt="" src="images/projected_overlap.png" style="width: 500px;">
1313+ <figcaption> projectedOverlap</figcaption>
1314+ </figure>
13141315
13151316 <dt><var> alignWeight</var> :
13161317 <dd> 5
@@ -1758,7 +1759,7 @@ The editors of this specification would like to thank the following individuals
17581759
17591760<em> This section is non-normative.</em>
17601761
1761- The following changes were made since the <a href="https://www.w3.org/TR/2019/WD-css-nav-1-20190423/">23 April 2019 First Public Working Draft</a> .
1762+ The following changes were made since the <a href="https://www.w3.org/TR/2019/WD-css-nav-1-20190423/">23 April 2019 First Public Working Draft</a> .
17621763
17631764 * Changed the result of {{getSpatialNavigationContainer()}} to return the nearest <a>spatial navigation container</a> ancestor
17641765 * Added 'spatial-navigation-function'
0 commit comments