Skip to content

Commit 10194ce

Browse files
authored
Normative: correct locator handling of "max depth" (#611)
1 parent a9da8af commit 10194ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3055,7 +3055,9 @@ and |session|:
30553055

30563056
1. Otherwise, perform the following steps:
30573057

3058-
1. Set |max depth| to |max depth| - 1.
3058+
1. If |max depth| is not null:
3059+
3060+
1. Set |max depth| to |max depth| - 1.
30593061

30603062
1. Let |child node matches| be the result of [=locate nodes using inner text=]
30613063
with |context target|, |child nodes|, |selector|, |max depth|,

0 commit comments

Comments
 (0)