Skip to content

Commit

Permalink
Fix build by referencing css22 instead of css2 (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Nov 18, 2024
1 parent 52d8a77 commit 628c9e0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2980,6 +2980,9 @@ browsingContext.CssLocator = {

browsingContext.ContainerLocator = {
type: "container",
value: {
context: text,
}
}

browsingContext.InnerTextLocator = {
Expand Down Expand Up @@ -4063,9 +4066,14 @@ The [=remote end steps=] with |session| and |command parameters| are:
<dt>|type| is the string "<code>container</code>"
<dd>

1. Issue: throw errors if extra unused optional params are set?
1. If |start nodes parameter| is not null,
return [=error=] with [=error code=] "<code>invalid argument</code>".

1. Let |result nodes| be [=locate the container element=] given |navigable|.
1. Let |selector| be |locator|["<code>value</code>"].

1. Let |child navigable| be |selector|["<code>context</code>"].

1. Let |result nodes| be [=locate the container element=] given |child navigable|.

1. Assert: |maximum returned node count| is null or [=list/size=] of |result nodes| is less
than or equal to |maximum returned node count|.
Expand Down

0 comments on commit 628c9e0

Please sign in to comment.