Skip to content

Commit 521e30d

Browse files
khushalsagarvmpstr
andauthored
[css-view-transitions-2] Updates for horizontal review (w3c#10284)
* Updates for horizontal review * Apply suggestions from code review Co-authored-by: vmpstr <vmpstr@chromium.org> --------- Co-authored-by: vmpstr <vmpstr@chromium.org>
1 parent 090b614 commit 521e30d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

css-view-transitions-2/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ With same-document view transitions, the author starts a view transition using J
131131
In cross-document view transition, what triggers a view transition is a navigation between two documents, as long as the following conditions are met:
132132

133133
* Both documents are of the [=same origin=];
134-
* The page is visible throughout the entire course of the navigatiion;
135-
* the navigation is initiated by the page, e.g. by clicking a link or submitting a form, or is a {{NavigationType/traverse}} navigation (back/forward). This excludes, for example, navigations initiated by the URL bar;
134+
* The page is visible throughout the entire course of the navigation;
135+
* The user initiates the navigation by interacting with the page, e.g. by clicking a link or submitting a form; or by interacting with the browser UI to do a {{NavigationType/traverse}} navigation (back/forward). This excludes, for example, navigations initiated by the URL bar;
136136
* the navigation didn't include cross-origin redirects; and
137137
* both documents opted in to cross-document view transitions, using the ''@view-transition'' rule.
138138

@@ -232,7 +232,7 @@ Similar to a same-document view transition, the author can now select different
232232
1. This {{ViewTransition}}'s <code>{{ViewTransition/updateCallbackDone}}</code> promise is already resolved,
233233
and its [=captured elements=] are populated from the old {{Document}}.
234234

235-
1. This is another opportunity for the author customize the transition, e.g. by mutating its {{ViewTransition/types}}, or {{ViewTransition/skipTransition()|skip}} it altogether.
235+
1. This is another opportunity for the author to customize the transition, e.g. by mutating its {{ViewTransition/types}}, or {{ViewTransition/skipTransition()|skip}} it altogether.
236236

237237
1. The state of the new document is [=capture the new state|captured=] as the "new" state of the transition.
238238

0 commit comments

Comments
 (0)