Skip to content

Commit

Permalink
editorial: formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiago Perrotta committed Nov 3, 2023
1 parent 9d540f4 commit 5995aeb
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2610,11 +2610,11 @@ The [=remote end steps=] with |command parameters| are:
[=error code=] [=invalid argument=].

1. If |prompt unload| is true:

1. [=Close=] |context|.

1. Otherwise:

1. [=Close=] |context| without [=prompting to unload=].

1. Return [=success=] with data null.
Expand Down Expand Up @@ -2896,7 +2896,7 @@ To <dfn>locate nodes using CSS</dfn> with given |context target|, |context nodes

1. For each |context node| of |context nodes|:

1. Let |elements| be the result of [=match a selector against a tree=] with
1. Let |elements| be the result of [=match a selector against a tree=] with
|parse result| and |context target|’s [=active document=] [=root=] using
[=scoping root=] |context node|.

Expand Down Expand Up @@ -2944,12 +2944,12 @@ without going via the ECMAScript runtime.
as this and |index| as the argument.

1. [=list/Append=] |node| to |returned nodes|.

1. If |maximum returned node count| not null and [=list/size=] of
|returned nodes| is equal to |maximum returned node count|,
return |returned nodes|.

1. Set |index| to |index| + 1.
1. Set |index| to |index| + 1.

1. Return |returned nodes|.

Expand Down Expand Up @@ -2980,7 +2980,7 @@ and |session|:

1. If |search text| is a [=code point substring=] of |node text|, perform the
following steps:

1. Let |child nodes| be an empty [=/list=] and, for each node |child| in the
<a spec=dom>children</a> of |context node|:

Expand All @@ -2996,7 +2996,7 @@ and |session|:

1. Otherwise, perform the following steps:

1. Set |max depth| to |max depth| - 1.
1. Set |max depth| to |max depth| - 1.

1. Let |child node matches| be the result of [=locate nodes using inner text=]
with |context target|, |child nodes|, |selector|, |max depth|,
Expand Down Expand Up @@ -3029,7 +3029,7 @@ The [=remote end steps=] with |session| and |command parameters| are:
let |sandbox| be null.

1. Let |current context target| be the a [=/map=] matching of the
<code>script.ContextTarget</code> production with the
<code>script.ContextTarget</code> production with the
<code>context</code> field set to the [=browsing context id=]
of |context| and the <code>sandbox</code> field set to |sandbox|.

Expand Down Expand Up @@ -3061,7 +3061,7 @@ The [=remote end steps=] with |session| and |command parameters| are:

1. Let |type| be |locator|["<code>type</code>"].

1. In the following list of conditions and associated steps, run the first set
1. In the following list of conditions and associated steps, run the first set
of steps for which the associated condition is true:

<dl>
Expand All @@ -3086,13 +3086,13 @@ The [=remote end steps=] with |session| and |command parameters| are:
<dd>
1. Let |selector| be |locator|["<code>value</code>"].

1. If |locator| [=map/contains=] <code>maxDepth</code>, let |max depth| be
1. If |locator| [=map/contains=] <code>maxDepth</code>, let |max depth| be
|locator|["<code>maxDepth</code>"]. Otherwise, let |max depth| be null.

1. If |locator| [=map/contains=] <code>ignoreCase</code>, let |ignore case| be
1. If |locator| [=map/contains=] <code>ignoreCase</code>, let |ignore case| be
|locator|["<code>ignoreCase</code>"]. Otherwise, let |ignore case| be false.

1. If |locator| [=map/contains=] <code>matchType</code>, let |match type| be
1. If |locator| [=map/contains=] <code>matchType</code>, let |match type| be
|locator|["<code>matchType</code>"]. Otherwise, let |match type| be "full".

1. Let |result nodes| be a result of [=trying=] to [=locate nodes using inner text=]
Expand All @@ -3104,7 +3104,7 @@ The [=remote end steps=] with |session| and |command parameters| are:

1. If |command parameters| [=map/contains=] "<code>serializationOptions</code>",
let |serialization options| be |command parameters|["<code>serializationOptions</code>"].
Otherwise, let |serialization options| be a [=/map=] matching the
Otherwise, let |serialization options| be a [=/map=] matching the
<code>script.SerializationOptions</code> production with the fields
set to their default values.

Expand Down Expand Up @@ -3449,7 +3449,7 @@ The [=remote end steps=] with |command parameters| are:
1. If |command parameters| [=map/contains=] the <code>viewport</code> field:

1. Let |viewport| be the |command parameters|["<code>viewport</code>"].

1. If |viewport| is not null, set the width of |context|'s [=layout
viewport=] to be the <code>width</code> of |viewport| in CSS pixels and
set the height of the |context|'s [=layout viewport=] to be the
Expand Down

0 comments on commit 5995aeb

Please sign in to comment.