Skip to content

Commit 7d41b99

Browse files
authored
Ran tidy. (#1067)
1 parent 452f703 commit 7d41b99

File tree

1 file changed

+40
-42
lines changed

1 file changed

+40
-42
lines changed

index.html

Lines changed: 40 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -859,8 +859,8 @@ <h3>
859859
[=URL/within scope=].
860860
</p>
861861
<p>
862-
To <dfn>process the `id` member</dfn>, given [=ordered map=] |json:JSON|,
863-
[=ordered map=] |manifest:ordered map|:
862+
To <dfn>process the `id` member</dfn>, given [=ordered map=]
863+
|json:JSON|, [=ordered map=] |manifest:ordered map|:
864864
</p>
865865
<ol class="algorithm">
866866
<li>Set |manifest|["id"] to |manifest|["start_url"].
@@ -1329,7 +1329,7 @@ <h3>
13291329
algorithm.
13301330
</li>
13311331
<li>Let [=document=]'s <dfn data-export="" data-dfn-for="Document">
1332-
processed manifest</dfn> be |manifest|.
1332+
processed manifest</dfn> be |manifest|.
13331333
</li>
13341334
</ol>
13351335
</section>
@@ -1987,9 +1987,8 @@ <h3>
19871987
</h3>
19881988
<p>
19891989
When <a>shortcut item</a> <var>shortcut</var> having
1990-
<var>manifest</var> is invoked, run the steps to
1991-
[=launch a web application=] with <var>manifest</var> and
1992-
<var>shortcut.url</var>.
1990+
<var>manifest</var> is invoked, run the steps to [=launch a web
1991+
application=] with <var>manifest</var> and <var>shortcut.url</var>.
19931992
</p>
19941993
</section>
19951994
<section>
@@ -1998,7 +1997,7 @@ <h2>
19981997
</h2>
19991998
<p>
20001999
To <dfn>process a shortcut</dfn>, given [=ordered map=] |item:ordered
2001-
map| and |scope:URL|,:
2000+
map| and |scope:URL|,:
20022001
</p>
20032002
<ol class="algorithm">
20042003
<li>Return failure if it's the case that:
@@ -2020,8 +2019,8 @@ <h2>
20202019
</li>
20212020
<li>If |url| is failure, return failure.
20222021
</li>
2023-
<li>If |url| is not [=manifest/within scope=] of |scope|,
2024-
return failure.
2022+
<li>If |url| is not [=manifest/within scope=] of |scope|, return
2023+
failure.
20252024
</li>
20262025
<li>Let |shortcut:ordered map| be |ordered map| «[ "url" → |url|,
20272026
"name" → |item|["name"] ]».
@@ -2207,8 +2206,8 @@ <h2>
22072206
user agent an opportunity to apply the relevant values of the manifest,
22082207
possibly changing the <a>display mode</a> and screen orientation of the
22092208
web application. Alternatively, and again as an example, the user agent
2210-
could <a>install</a> the web application into a list of bookmarks within
2211-
the user agent itself.
2209+
could <a>install</a> the web application into a list of bookmarks
2210+
within the user agent itself.
22122211
</p>
22132212
<section>
22142213
<h3>
@@ -2248,62 +2247,61 @@ <h3>
22482247
Launching a web application
22492248
</h3>
22502249
<p>
2251-
At the discretion of the operating system or user agent, run the steps
2252-
to [=launch a web application=] with a
2253-
[=Document/processed manifest=].
2250+
At the discretion of the operating system or user agent, run the
2251+
steps to [=launch a web application=] with a [=Document/processed
2252+
manifest=].
22542253
</p>
22552254
<p class="note">
2256-
This would typically take place when the user selects an [=installed=]
2257-
web app from an app launching UI surface e.g., a home screen, launcher
2258-
or start menu.
2255+
This would typically take place when the user selects an
2256+
[=installed=] web app from an app launching UI surface e.g., a home
2257+
screen, launcher or start menu.
22592258
</p>
22602259
<p>
2261-
The steps to
2262-
<dfn data-lt="launching a web application" data-export="">launch a web
2263-
application</dfn> is given by the following algorithm. The algorithm
2264-
takes a [=Document/processed manifest=] |manifest:processed manifest|,
2265-
an optional [=URL=] |target URL:URL|, an optional [=POST resource=]
2266-
|POST resource| and returns an [=application context=].
2260+
The steps to <dfn data-lt="launching a web application" data-export=
2261+
"">launch a web application</dfn> is given by the following
2262+
algorithm. The algorithm takes a [=Document/processed manifest=]
2263+
|manifest:processed manifest|, an optional [=URL=] |target URL:URL|,
2264+
an optional [=POST resource=] |POST resource| and returns an
2265+
[=application context=].
22672266
</p>
22682267
<p>
22692268
|target URL|, if given, MUST be [=manifest/within scope=] of
22702269
|manifest|.
22712270
</p>
22722271
<p>
2273-
Other specifications MAY replace this algorithm's steps with their own
2274-
steps. This replacement will take effect for all invocations of
2272+
Other specifications MAY replace this algorithm's steps with their
2273+
own steps. This replacement will take effect for all invocations of
22752274
[=launch a web application=].
22762275
</p>
22772276
<p class="note">
2278-
This algorithm is replaceable to allow an experimental
2279-
<a href="https://github.com/WICG/web-app-launch">launch_handler</a>
2280-
manifest field to configure the behavior of all web application
2281-
launches. The replacement algorithm invokes [=create a new
2282-
application context=] by default but under certain conditions behaves
2283-
differently.
2277+
This algorithm is replaceable to allow an experimental <a href=
2278+
"https://github.com/WICG/web-app-launch">launch_handler</a> manifest
2279+
field to configure the behavior of all web application launches. The
2280+
replacement algorithm invokes [=create a new application context=] by
2281+
default but under certain conditions behaves differently.
22842282
</p>
22852283
<ol class="algorithm">
22862284
<li>Return the result of running the steps to [=create a new
2287-
application context=] passing |manifest|, |target URL| and
2288-
|POST resource|.
2285+
application context=] passing |manifest|, |target URL| and |POST
2286+
resource|.
22892287
</li>
22902288
</ol>
22912289
<p>
2292-
The steps to <dfn data-export="">create a new application context
2293-
</dfn> is given by the following algorithm. The algorithm takes a
2294-
[=Document/processed manifest=] |manifest:processed manifest|,
2295-
an optional [=URL=] |target URL:URL|, an optional [=POST resource=]
2296-
|POST resource| and returns an [=application context=].
2290+
The steps to <dfn data-export="">create a new application
2291+
context</dfn> is given by the following algorithm. The algorithm
2292+
takes a [=Document/processed manifest=] |manifest:processed
2293+
manifest|, an optional [=URL=] |target URL:URL|, an optional [=POST
2294+
resource=] |POST resource| and returns an [=application context=].
22972295
</p>
22982296
<ol class="algorithm">
22992297
<li>If |target URL| was not given, set |target URL| to [=start URL=].
23002298
</li>
23012299
<li>Let |traversable| be the result of running the steps to [=create
2302-
a fresh top-level traversable=] with |target URL| and
2303-
|POST resource|.
2300+
a fresh top-level traversable=] with |target URL| and |POST
2301+
resource|.
23042302
</li>
2305-
<li>Let |browsing context| be the |traversable|'s
2306-
<a data-cite="html#nav-bc">active browsing context</a>.
2303+
<li>Let |browsing context| be the |traversable|'s <a data-cite=
2304+
"html#nav-bc">active browsing context</a>.
23072305
</li>
23082306
<li>[=Apply=] |manifest| to |browsing context|.
23092307
</li>

0 commit comments

Comments
 (0)