Skip to content

Commit 4c82089

Browse files
committed
typos
1 parent 223a77f commit 4c82089

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/docs/basics/levels.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Part two indeed adds extensions for cross-document view transitions, but also fe
3939
### Cross-Document
4040
* The `@view-transition{ navigation: auto }` at-rule to opt in to [cross-document view transitions](/basics/javascript/#cross-document-view-transitions).
4141
* `pageswap` and `pagereveal` [events](/basics/javascript/#pageswap-and-pagereveal-events) that give access to the view transition object on the old and new page.
42-
* An [`activation`](/basics/javascript/#activation-object) property on `pageswap` holds a `NavigationActivation` object from the Navigation API. There are no equivalent on properties on `pagereveal`. Use `navigation.activation` from the Navigation API instead.
42+
* An [`activation`](/basics/javascript/#activation-object) property on `pageswap` holds a `NavigationActivation` object from the Navigation API. There are no equivalent properties on `pagereveal`. Use `navigation.activation` from the Navigation API instead.
4343

4444
### Extensions for Both, Same- and Cross-Document
4545
* The [`view-transition-class`](/basics/styling/#with-classes) property and selector syntax to address multiple pseudo-elements with a single selector.

src/content/docs/tips/view-transition-fails-and-fixes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ Typically, browsers suppress view transitions on navigation if they already have
429429

430430
The `popstate` and `navigation` events have a `hasUAVisualTransition` property which you can use to skip your own view transitions when the browser has already started a native one.
431431

432-
Sadly, `popstate` does not fire for cross-document navigation, and evn though it is now baseline not all browsers versions support the Navigation API.
432+
Sadly, `popstate` does not fire for cross-document navigation, and even though it is now baseline, not all browsers versions support the Navigation API.
433433

434434
As a last resort, you could completely skip view transitions when the `activation.navigationType` of the `pageswap` event equals `'traverse'`.
435435

0 commit comments

Comments
 (0)