docs: fix typo bonding > bounding (#15442)

Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
jfp1992 2022-07-11 21:13:06 +01:00 committed by GitHub
parent 342c971169
commit 7b881cf0fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -117,7 +117,7 @@ await locator.ClickAsync();
This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
calculated relative to the main frame viewport - which is usually the same as the browser window. calculated relative to the main frame viewport - which is usually the same as the browser window.
Scrolling affects the returned bonding box, similarly to Scrolling affects the returned bounding box, similarly to
[Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
means `x` and/or `y` may be negative. means `x` and/or `y` may be negative.

View file

@ -29,7 +29,7 @@ Returns an array of `node.textContent` values for all matching nodes.
This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
calculated relative to the main frame viewport - which is usually the same as the browser window. calculated relative to the main frame viewport - which is usually the same as the browser window.
Scrolling affects the returned bonding box, similarly to Scrolling affects the returned bounding box, similarly to
[Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
means `x` and/or `y` may be negative. means `x` and/or `y` may be negative.

View file

@ -8023,7 +8023,7 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
* This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is * This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
* calculated relative to the main frame viewport - which is usually the same as the browser window. * calculated relative to the main frame viewport - which is usually the same as the browser window.
* *
* Scrolling affects the returned bonding box, similarly to * Scrolling affects the returned bounding box, similarly to
* [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That * [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
* means `x` and/or `y` may be negative. * means `x` and/or `y` may be negative.
* *
@ -9115,7 +9115,7 @@ export interface Locator {
* This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is * This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
* calculated relative to the main frame viewport - which is usually the same as the browser window. * calculated relative to the main frame viewport - which is usually the same as the browser window.
* *
* Scrolling affects the returned bonding box, similarly to * Scrolling affects the returned bounding box, similarly to
* [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That * [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
* means `x` and/or `y` may be negative. * means `x` and/or `y` may be negative.
* *