From 07482443902f5c92b15ac94f31ec68b24fe47614 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Mon, 18 Nov 2024 19:25:52 +0100 Subject: [PATCH] Fix build by referencing css22 instead of css2 (#816) --- index.bs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index 809c06dd..6dc82244 100644 --- a/index.bs +++ b/index.bs @@ -2046,7 +2046,7 @@ BrowserResult = ( Each [=/top-level traversable=] is associated with a single client window which represents a rectangular area containing the -viewport that will be used to render that [=/top-level +viewport that will be used to render that [=/top-level traversable=]'s [=active document=] when its [=visibility state=] is "visible", as well as any browser-specific user interface elements associated with displaying the traversable (e.g. any URL bar, toolbars, or OS @@ -2980,6 +2980,9 @@ browsingContext.CssLocator = { browsingContext.ContainerLocator = { type: "container", + value: { + context: text, + } } browsingContext.InnerTextLocator = { @@ -4063,9 +4066,14 @@ The [=remote end steps=] with |session| and |command parameters| are:
|type| is the string "container"
- 1. Issue: throw errors if extra unused optional params are set? + 1. If |start nodes parameter| is not null, + return [=error=] with [=error code=] "invalid argument". - 1. Let |result nodes| be [=locate the container element=] given |navigable|. + 1. Let |selector| be |locator|["value"]. + + 1. Let |child navigable| be |selector|["context"]. + + 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|.