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 f13d57d commit 0748244
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2046,7 +2046,7 @@ BrowserResult = (

Each [=/top-level traversable=] is associated with a single <dfn>client
window</dfn> which represents a rectangular area containing the
<a spec=css2>viewport</a> that will be used to render that [=/top-level
<a spec=css22>viewport</a> that will be used to render that [=/top-level
traversable=]'s [=active document=] when its [=visibility state=] is
"<code>visible</code>", as well as any browser-specific user interface elements
associated with displaying the traversable (e.g. any URL bar, toolbars, or OS
Expand Down 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 0748244

Please sign in to comment.