diff --git a/index.bs b/index.bs index b20be95e..6dc82244 100644 --- a/index.bs +++ b/index.bs @@ -2960,6 +2960,7 @@ To await a navigation given |navigable|, |request|, |wait condition|, browsingContext.Locator = ( browsingContext.AccessibilityLocator / browsingContext.CssLocator / + browsingContext.ContainerLocator / browsingContext.InnerTextLocator / browsingContext.XPathLocator ) @@ -2977,6 +2978,13 @@ browsingContext.CssLocator = { value: text } +browsingContext.ContainerLocator = { + type: "container", + value: { + context: text, + } +} + browsingContext.InnerTextLocator = { type: "innerText", value: text, @@ -3776,6 +3784,18 @@ To locate nodes using CSS with given |navigable|, |context nodes|, +
container
"
+ invalid argument
".
+
+ 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|.