Skip to content

Commit

Permalink
[css-view-transitions-2] Allow transitions when traversing into a doc…
Browse files Browse the repository at this point in the history
…ument that was created using cross-origin redirects (#11070)
  • Loading branch information
noamr authored Oct 24, 2024
1 parent d72a80b commit 8745dbb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion css-view-transitions-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,9 @@ The [=captured element=] struct should contain these fields, in addition to the

1. If |oldDocument|'s [=Document/origin=] is not [=same origin=] as |newDocument|'s [=Document/origin=], then return false.

1. If |newDocument| [=was created via cross-origin redirects=], then return false.
1. If |newDocument| [=was created via cross-origin redirects=] and |newDocument|'s [=latest entry=] is null, then return false.

Note: A [=Document=]'s [=latest entry=] would be null if this is a new navigation, rather than a restore from BFCache.

1. If |navigationType| is {{NavigationType/traverse}}, then return true.

Expand Down

0 comments on commit 8745dbb

Please sign in to comment.